Is there a way to control the size of the thumbnails which are choosed via G2 ImageChooser for the content?
Mine are 150 x 150px and in the new version of my site, i don't need them so large any more. I did found the code, where the dimensions are controlled by, but i was not able to change it.
Any help on this?
Posts: 10
Hi,
can you tell me, where you found the code.
I need this feature too!
thank you
Posts: 103
search for the following code:
$item_info['thumbnail_width'] = $thumbnail->getWidth();
$item_info['thumbnail_height'] = $thumbnail->getHeight();
and then change this part here: $thumbnail->getHeight(). Problem for me is, that i have different photographer who upload there pictures in different dimensions, so the thumbnail doesn't look really good, when i change the dimensions in the above code.
Maybe you have more luck