fmc82 Posted April 29, 2014 Share Posted April 29, 2014 Hello everyone I have a problem. I would like to see in the back office thumbnails of the images found in the larger products. how can I do thanks Link to comment Share on other sites More sharing options...
vekia Posted April 29, 2014 Share Posted April 29, 2014 hello i have no idea what you exactly expect. can you explain what you want to add / change and where? (what part of back office) Link to comment Share on other sites More sharing options...
fmc82 Posted May 1, 2014 Author Share Posted May 1, 2014 (edited) I would like to expand the size of the photo Edited May 1, 2014 by fmc82 (see edit history) Link to comment Share on other sites More sharing options...
PascalVG Posted May 3, 2014 Share Posted May 3, 2014 In file, <shop root>/css/admin.css (in default shop PS 1.5.5.0, around line 806) you can add a height to class 'imgm': .imgm { margin: 3px 0px 3px 0px; height: 80px; } pascal Link to comment Share on other sites More sharing options...
fmc82 Posted May 3, 2014 Author Share Posted May 3, 2014 sorry but where do I find the version 1.6.0.5 of the default theme css to edit thanks Link to comment Share on other sites More sharing options...
vekia Posted May 3, 2014 Share Posted May 3, 2014 image will be blurred because this section uses image with max width 45px in this case it's necessary to modify prestashop core, to change size of /tmp/ images Link to comment Share on other sites More sharing options...
PascalVG Posted May 3, 2014 Share Posted May 3, 2014 Yes, so to not make it blurred, don't go bigger than 47 (45 +1+1 border) for 1.6.0.5. in file: <your ADMIN folder>/themes/<your them folder>/css/admin-theme.css (Line 1589): Add/change red code: .bootstrap .img-thumbnail { /* padding: 4px; */ line-height: 1.42857; background-color: white; border: 1px solid #dddddd; border-radius: 3px; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; display: inline-block; /* max-width: 100%; */ height: 47px; } If you need bigger, we have to find out where it creates the 45x45 pixels exactly... pascal Link to comment Share on other sites More sharing options...
vekia Posted May 3, 2014 Share Posted May 3, 2014 it's located in imageManager class in thumbnail function (size param defines the size of image) Link to comment Share on other sites More sharing options...
fmc82 Posted May 9, 2014 Author Share Posted May 9, 2014 sorry I did not understand where he is going to have a modified image is not blurred about 80 or 100 px Link to comment Share on other sites More sharing options...
fmc82 Posted May 16, 2014 Author Share Posted May 16, 2014 help Link to comment Share on other sites More sharing options...
PascalVG Posted May 16, 2014 Share Posted May 16, 2014 (edited) In file: classes/helper/HelperList.php there is a function displayListContent() In there, somewhere halfway the function a function thumbnail() is called: $this->_list[$index][$key] = ImageManager::thumbnail($path_to_image, $this->table.'_mini_'.$item_id.'_'.$this->context->shop->id.'.'.$this->imageType, 45, $this->imageType); Change this into: $this->_list[$index][$key] = ImageManager::thumbnail($path_to_image, $this->table.'_mini_'.$item_id.'_'.$this->context->shop->id.'.'.$this->imageType, 100, $this->imageType); This should do the trick. N.B. There may still be some old pictures in the /img/tmp/ folder. Remove these and then reload the page. That did it for me. Result: pascal. Edited May 16, 2014 by PascalVG Found tmp files. Edited comment to remove these (see edit history) 1 Link to comment Share on other sites More sharing options...
bgcandle Posted January 12, 2016 Share Posted January 12, 2016 works for me thank you Pascal PrestaShop 1.6.1.3 https://www.bgcandles.com Link to comment Share on other sites More sharing options...
losdelsolo Posted July 23, 2018 Share Posted July 23, 2018 Hi to all, I have follow these instructions for displaying bigger products images in the catalog section of the back office on ps 1.6.1.20. No luck. By theway I like to increase the products images size present on the pdf invoice if possible. Someone can help me to achieve this correctly please ? Best regards, Sam Link to comment Share on other sites More sharing options...
Comparo Posted July 18, 2022 Share Posted July 18, 2022 Hi to All, Where I can change This in PS 1.7.8? Link to comment Share on other sites More sharing options...
TomPol Posted August 28, 2022 Share Posted August 28, 2022 Change size in src/Adapter/ImageManager.php after this delete all product_mini_*****.jpg from /img/tmp/ Link to comment Share on other sites More sharing options...
Comparo Posted August 29, 2022 Share Posted August 29, 2022 (edited) ok, all is fine. Thanks for Your Answer. Edited August 29, 2022 by Comparo (see edit history) Link to comment Share on other sites More sharing options...
Comparo Posted August 29, 2022 Share Posted August 29, 2022 I still had to change in the directory /Admin*/themes/new-theme/public/thame.css: .img-thumbnail => Needed to remove: max-width:100%; Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now