![]() |
|
Feed Thumbnail Size - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Feed Thumbnail Size (/thread-2116.html) |
Feed Thumbnail Size - motaheri - 2008-01-22 I thought it would be better if the thumbnails were not cropped, giving the feed user a more distinct preview of what the image is. Often i see photos that their main leverage is on the sides. also both flickr and national geographic provide un-cropped previews in their feed, i'm sure this is the case elsewhere also.. of course i could edit this to my liking, but i think this is a standard implication elsewhere and i believe its also to ZP's benefit if this was the default, and [if needed] an admin option was provided for other sizes/crops. your thoughts? Feed Thumbnail Size - acrylian - 2008-01-22 Well, I never used flickr or such but I have thought about an option for the feed images, too. We'll consider that. Feed Thumbnail Size - motaheri - 2008-01-22 thanks for the consideration! Feed Thumbnail Size - acrylian - 2008-01-22 I generally agree with you. Feed Thumbnail Size - motaheri - 2008-01-22 thank you Feed Thumbnail Size - acrylian - 2008-01-22 A fix will be in one of the next svn. But you can easily do it yourself: Just open rss.php and find the lines with image width and image height. Then set both to equal values and the image is uncropped. Feed Thumbnail Size - motaheri - 2008-01-23 Thank you ! this is what i did, i'll try out yours shortly line 62: i'm thinking 240 may not be a standard - but more what flickr is comfortable with.. i searched the net for an image size standard, but the size was around 140(width) x 400(height) which i believe is outdated and a weird size, mobile readers now-a-days have higher resolutions (?) .. i like the under 300 px idea.. but still have found no real standard out there. Feed Thumbnail Size - acrylian - 2008-01-23 I have set 250x250 as the default value (svn1061). Some users might prefer bigger images, others don't. Since it's easily changed choose just the size you are comfortable with. Feed Thumbnail Size - motaheri - 2008-01-25 Hello Acrylian, $ih = $ch = 250; // Image Height` This will give a cropped image, as i have tested myself. (when 'w' and 'h' are given to i.php the results can only be an image with those fixed dimensions, yet 's' calls for a logical size.) Feed Thumbnail Size - acrylian - 2008-01-25 Well, I have to admit technically you are absolutly right, but strangely it does not make any difference in my installation. Anyway, I will include your "correct" version...:-) Feed Thumbnail Size - motaheri - 2008-01-27 oh thank you Acrylian, Feed Thumbnail Size - acrylian - 2008-01-27 Probably I did not make myself clear and you got me wrong! Both yours and mine way show uncropped images for me! I had the "use longest side" enabled and I use the nightly releases. That was what I wondered about. So everything is fine and your way is the right way to do it, so that is in now (yeah, even developers can be wrong...:-)) PS: Thanks, we try not only to have the best gallery...:-) |