Jump to content

Edit History

Ponas Programuotojas

Ponas Programuotojas

On 9/7/2021 at 12:27 PM, DARKF3D3 said:

I just found the correct file for PS1.7.7:
/httpdocs/src/Adapter/Order/QueryHandler/GetOrderProductsForViewingHandler.php

Just search for 45 and change to the preferred size.
If you still see the old images, you should delete product_mini images into /img/tmp/ folder.

Do not working on Prestashop 8.1.2

working this:

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

80 line

Example:

 

Quote

        $size = 250;
        if (!file_exists($image)) {

And change

Quote

$max_x = $size * 3;

to

Quote

$max_x = $size * 1;

 after delete img/tmp

all thumnails in corect size

but images chage olnly in 

index.php/sell/catalog/products/465

how change image size in bo:
/index.php/sell/catalog/products

where are css with class="imgm img-thumbnail"?

I looked through all the css of the admin theme and couldn't find it. And in general, is it possible to change the larger images only on the product administration page, and to leave the smaller ones on the product adjustment page itself? Maybe someone knows how to display product images from the images/p directory on the admin page. Because after increasing the dimensions of the images in the tmp directory, I would have 20,000 product images, the size of which I increase significantly, so it is more relevant for me to show product images from the private image directory.

Ponas Programuotojas

Ponas Programuotojas

On 9/7/2021 at 12:27 PM, DARKF3D3 said:

I just found the correct file for PS1.7.7:
/httpdocs/src/Adapter/Order/QueryHandler/GetOrderProductsForViewingHandler.php

Just search for 45 and change to the preferred size.
If you still see the old images, you should delete product_mini images into /img/tmp/ folder.

Do not working on Prestashop 8.1.2

working this:

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

80 line

Example:

 

Quote

        $size = 250;
        if (!file_exists($image)) {

And change

Quote

$max_x = $size * 3;

to

Quote

$max_x = $size * 1;

 after delete img/tmp

all thumnails in corect size

but images chane olnly in 

index.php/sell/catalog/products/465

how change image size in bo:
/index.php/sell/catalog/products

where are css with class="imgm img-thumbnail"?

I looked through all the css of the admin theme and couldn't find it. And in general, is it possible to change the larger images only on the product administration page, and to leave the smaller ones on the product adjustment page itself? Maybe someone knows how to display product images from the images/p directory on the admin page. Because after increasing the dimensions of the images in the tmp directory, I would have 20,000 product images, the size of which I increase significantly, so it is more relevant for me to show product images from the private image directory.

×
×
  • Create New...