Tap Forms Database Pro for Mac, iPhone, iPad and Apple Watch › Forums › Using Tap Forms 5 › Large Photo Files
Tagged: Large photo files
- This topic has 7 replies, 2 voices, and was last updated 13 years ago by
Brendan.
-
AuthorPosts
-
April 24, 2012 at 10:46 AM #3657
alpalParticipantI’ve just worked out how to import large (2M) photo files into a form. I need to be able to magnify tiny details in each. I would like to know if I import quite a few of these jpgs (around 1.7 gig worth – about 800 or so) whether this app can handle it. BTW I think this app is really impressive, far superior to any other DB app I’ve found.
Alan
Australia
April 24, 2012 at 6:16 PM #5183
BrendanKeymasterHello Alan,
That’s a good question. When you take a photo within Tap Forms, I scale them to 1024×1024. There was always a limit to the size of a photo that could be displayed within the photo viewer on the iPhone. I would say try it out to see what happens. The only limitations I can think of is memory usage loading in such a large photo.
Thanks!
Brendan
April 25, 2012 at 7:54 AM #5184
alpalParticipantHi Brendan
Thanks for your prompt response. One more question if I could. Is there a quick way of loading multiple photos at once rather than one at a time? (The upload facility seems to only take one jpg at a time)
Cheers
Alan
April 25, 2012 at 7:58 AM #5185
BrendanKeymasterHello Alan,
I’m assuming you’re using the built-in web server to upload your photos into the Photos folder? To upload multiple files at a time, just switch to using the FTP server and then use a program called Cyberduck to upload your files. You can download Cyberduck from http://cyberduck.ch for Mac or Windows.
To associate your photos with your records, you could put all the photo file names into a CSV file along with the rest of your data for your form and then import the CSV file. Make sure you use the <photo> tag in your CSV file header. The easiest way to find out the headers you can use is to build your form in Tap Forms, then use the Export Records function. Tap Forms will put the header tags into the first row of the CSV file. So that’ll give you a good idea of how you’re supposed to setup your file for importing.
Thanks!
Brendan
April 25, 2012 at 8:00 AM #5186
BrendanKeymasterOh, and Tap Forms will generate thumbnails for your photos as you view the records. If you want to have it generate thumbnails for a bunch of images at once, just put your photo field in the first spot at the top of the form. Then when you view the list of records, Tap Forms will generate thumbnails for you as you scroll through the records. It can slow down the scrolling as it’s generating the thumbnails, but once they’re done, Tap Forms caches them, so subsequent visits to your record list view for your form will be quicker.
Thanks!
Brendan
April 25, 2012 at 10:02 AM #5187
alpalParticipantYou beauty! Brendan, you’re a star! Works like a treat. What a wonderful app you have made.
Thanks again.
Best regards
Alan
April 25, 2012 at 10:05 AM #5188
alpalParticipantOh and BTW, one way of associating the photos in each record is to use a text field, enter the photo name in the field and then change that field to a photo field, it seems to resolve perfectly.
Cheers
Alan
April 25, 2012 at 3:03 PM #5189
BrendanKeymasterHello Alan,
Yes, that’s because the name is stored in the text field spot in the database. The photo field uses that same field. It’s how a Text field can be switched to a Note field without losing any data. But if you switch a Number field to a Text field, you won’t see your data unless you switch back.
Thanks!
Brendan
-
AuthorPosts
You must be logged in to reply to this topic.