full picture square thumbnail

andre / 2012-11-20 18:12:31   

it is possible, on the visual index format, to make a square thumbnail but fitting the whole image to this square?

i don`t have a clue where of the code i can change, and how to do it either.

thank you.

andreberger.com.br

arsondpi / 2012-11-20 23:57:52   

Well... you need to have the original image as a square format.
Otherwise making a non square image into a square one, will look deformed...

andre / 2012-11-21 00:34:01   

but there's no way to use the smaller side (width or height) of the image as a parameter to fit the full image into the square, without deform (in a way that the image don't fill the entire square, leaves a empty space on the top and bottom OR on the sides of the icon, depending the format of the original image)?

thank you arsondpi

Vaska A / 2012-11-21 01:46:37   

It crops the image according to longest side using a bounding box - there isn't a way to do what you want unless you want borders (which is odd).

andre / 2012-11-21 01:50:38   

ok thank you

andre / 2012-11-22 14:22:22   

vaska, and if the borders isn't a problem to me (because my images have a white background, if I leave a white border it wouldn't really look like a border), can you show me wehere I can change de code to make the full image, without deform, at the square thumbnail?

This thread has been closed, thank you.