Amnesia180
Member
Posted 1 year ago #
Hi all,
I'm currently trying to configure my 'featured image' thumbnails to crop images at a certain size.
At the moment, my 'featured image' displays as the full size image, and with a range of different pictures being used this makes the page look untidy.
How can I get the 'featured image' to automatically crop a section of the image so that all the thumbs are the same size?
Thanks!
Amnesia
Amnesia180
Member
Posted 1 year ago #
Thank you for the link.
Unfortunately, I do not think this quite answers my question. This explains how to resize a thumb, which causes the image to distort/stretch and look awkward.
I am looking for the code that will crop the image, so if I have a 500x300 image, but I want thumbs to be 150x150, it will get a section the size of 150x150 and just display that amount of the picture (instead of resizing the original).
Thanks
Amnesia
Amnesia180
Member
Posted 1 year ago #