If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
November 17, 2010 at 2:22 am #2285
I have searched and searched but have not come up with an answer. I am wanting to showcase my photography on my Avisio site. It is advertised as a photography/portfolio blog. The problem is that the thumb on the portfolio pages are set to landscape only so it either crops or stretches/distorts the portrait images. I have gone in and changed the coding in functions to show portrait but now the landscape images are distorted. There has to be a way for the portfolio pages to show a thumb of the original in the correct aspect ratio. Once you click on the the image or the Read More button the image is shown in the correct aspect ratio.
Can someone please help figure out how to fix this?
Thanks!November 17, 2010 at 7:53 am #37412November 17, 2010 at 7:12 pm #37413
OK. Then can I make it take a crop of the center (it does not squich and distort the image to fit) of the image like on the slider preview images on the front page? I would rather it show a portion of the actual image (not distorted) rather than a squished/distorted view of the entire image.November 18, 2010 at 5:00 am #37414
Here is an example. On this portfolio page I manually cropped the landscape image in the center and assigned it as the thumbnail. I hope that I do not have to go to the trouble of doing this for all my landscape images. It is very time consuming. It would be great if I could have the portfolio pages auto crop the center as I did.
Also notice how I cropped it. I have the 4 column portfolio page set to portrait for testing. I will most likely set all to portrait. My test image is 600wx400h landscape. I have the portrait size set to 190wx285h which is a 2/3 format. I cropped out the vertical center of the image to 267wx400h keeping the height the same as the original image (400px). This is how I am hoping it can be done.November 18, 2010 at 5:18 pm #37415
The topic ‘Landscape or Portrait thumbnails, but not both?’ is closed to new replies.