Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 57

Rad Doc
Apple Fan
Profile
Posts: 653
Reg: Oct 08, 2010
USA, NYC
8,580
07/07/13 03:13 AM (12 years ago)

Thumb Viewer Plugin Question

I am setting up a gallery but cannot figure out the ideal size for the main gallery pic. Is there an exact size for that main image designation. Every picture i place into that 1st pic is either too large or looks distorted when i try to make it smaller.
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
07/07/13 08:01 AM (12 years ago)
For Small Devices: Try to match the resolution for the iPhone 5 (640 x 1136) and use the "Full Screen" as the image stretching option. For Large Devices: Try to match the resolution for the iPad Retina (1536 x 2048) and use the "Full Screen" as the image stretching option. On the iPhone 4, it will look slightly distorted. On iPad 2 it will look fine. Jake
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
07/08/13 02:41 AM (12 years ago)
Hi Rad Doc, The first image (on the first page of this plugin) is randomly selected and presented in the actual size of the image and centered in the with of the image placeholder. If you want to change this behavior you can try to experiment with it. Look for BTA_thumbViewer.xib Now click on the Image View and go to the fourth icon on the right side (the attribute inspector). In the section 'View' you can see that the mode is set to "Aspect Fill". Try to change this value --> save --> clean --> and rebuilt. This should help. Best Regards, Danny
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.