Jump to content

Products thumbnails size in Admin Panel


romanos

Recommended Posts

Hi,

Can you tell me if it is possible to change size of products' thumbnails in products in Admin Area? I would like to have bigger thumbnails.

 

If it is possible, how can I achieve it? I'm using presta 1.5.3.

 

Thanks in Advance,

Romanos.

Link to comment
Share on other sites

Hi,

You can change product_mini image size in classes/ImageManager.php by defining $size value.

 

Example:

 

public static function thumbnail($image, $cache_image, $size, $image_type = 'jpg', $disable_cache = false)
{
$size = 90;
if (!file_exists($image))
return '';
.............

And change

$max_x = $size * 3; 

to

$max_x = $size * 1;

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...