Home › Support › Image Store › Thumbnails
Tagged: thumbnail
-
AuthorPosts
-
May 15, 2013 at 6:34 am #53090lch503Participant
Hello,
When creaing a gallery, the top and bottom of the images are cut off on the thumbnail of some – mainly the portrait images.
Apart from editing them individually in the gallery is it possible to have proportional thumbnails depending on whether the image is landscape or portrait? (Where the whole image is used)
Thanks,
Leon
May 17, 2013 at 2:34 pm #53124Xpark MediaKeymasterApart from editing them individually in the gallery is it possible to have proportional thumbnails depending on whether the image is landscape or portrait?
Not by default, since the plugin is used in many themes, we try to provide a general layout that anybody can use, but if you know css is easy to change this in your theme.Can you provide a link to your site, and we can look at it.
May 18, 2013 at 4:19 am #53128lch503ParticipantI have mainly sorted it out.
You can change the thumbnail settings in wordpress that you have linked to in the code, therefore changing the size of the thumbnail.
If you set either the height OR width to 0 the output thumbnail will be a ratio of the value of height or width that you have set as the default value.
I have a fixed height, 150 pixels and have unselected cropping (this is mainly what my client didnt like) and it mainly works.
However now the landscape thumbnails (which now have a height less than 150 pixels) make the button appear just below it. Therefore the select buttons are not in the same horizontal location when you have portrait and landscape thumbnails side by side.
This is the only thing I have to fix now. I know I have to add a class in css with properties height 150px for ALL thumbnails so that the button is pushed down, but I am having troubles in putting it in the right location so it doesnt screw up the whole layout of the page.
I will let you know how I get on, but do you have any ideas where I can put this (if the above made sense)
Thanks,
Leon
-
AuthorPosts
- You must be logged in to reply to this topic.