Tap Forms Database Pro for Mac, iPhone, iPad and Apple Watch › Forums › Using Tap Forms Pro › Picture size scaling in TFP iOS layouts
- This topic has 3 replies, 2 voices, and was last updated 1 week, 1 day ago by
Brendan.
-
AuthorPosts
-
May 3, 2026 at 7:36 AM #54037
Gary TreibleParticipantI created a “parts” database in TFP on Mac. Nominally it contains a part number, description, and an image of the part. Most of the images have been sourced by screen shoting something on the web and pasting it into the picture field. This works fine, and although I’ve made zero effort to worry about size or dimensions of these images, they seen to scale perfectly to the image area in my layout, either by matching the width or the height. Unfortunately, when I”ve created layouts in the iOS app, these images are way too large to be viewed. I can touch them, and see the whole image in the viewer, but not in the layout image box by itself. Is there a way I can get TFP for iOS to automatically scale these images like it (apparently) does on Mac? I would like to simply select a record and see the part, no matter how small it might appear, without having to touch the image to bring up the viewer.
Thanks,
Gary (new user)
May 4, 2026 at 1:10 AM #54038
BrendanKeymasterHi Gary,
Can you please provide a screenshot so I can see the differences you’re talking about?
Are you referring to the Default Layout or a custom Universal Layout?
Thanks,
Brendan
May 4, 2026 at 7:15 AM #54040
Gary TreibleParticipantMy hobby is building with Erector sets. To that end, I’ve created a database of Erector parts with images. The first photo is a comparison of two unscaled images of a screwdriver in Photoshop. This gives an idea as to how large each is relative to the other. The next three images show the result of a universal layout (called iPad layout) on three different platforms. Finally, the last image shows the same record on a custom Mac layout. Here, both images have been scaled to fit (by width) the window allocated for displaying them. This suggests to me that a custom layout on Mac can scale images to fit (at least some) display areas. This seems not to be the case for image areas in universal layouts. I’m thinking (danger Will Robinson) that a universal layout would be more universal if it could do the same sort of image scaling that the custom Mac layout does. Even if the image, on iPhone for example, becomes very small. In that case, touching it to open the photo viewer would be fine. So, maybe another way to state this is with the question, “Could there be a check box for images that instructs the program to always scale the attached image to fit (either by width or height) the allotted space in any layout type?”
Gary
Attachments:
You must be logged in to view attached files.May 4, 2026 at 11:53 AM #54046
BrendanKeymasterHi Gary,
Thanks for the screenshots. Very helpful.
The issue is that on universal layouts, Tap Forms Pro generates a horizontally scrollable list of images. The issue you’re seeing is you have a fairly wide image and it won’t fit exactly on the screen, so it is truncated on the right. But if you swipe your finger across the image, you’ll see the rest of it scroll into view. It’s really just one big horizontal ScrollView.
Perhaps what you can do is have your image fields span across two columns, then you’ll see more of the photo.
Yes, it is different than both the Default Layout and the custom layouts on macOS. It’s just one of those things that I’ve been experimenting with to see what’s best. Yours is the first feedback I’ve had on this specific way of displaying images outside of my beta testers, who really liked it. But I can see how it would be a problem for very wide, but short images.
Also, you can have more than 1 image in a Photo field, so you don’t necessarily have to have 2 separate Photo fields. But it depends of course on your intentions and how you want your form to look.
Thanks,
Brendan
-
AuthorPosts
You must be logged in to reply to this topic.