daans Posted November 30, 2009 Share Posted November 30, 2009 Hey,I'm working on a custom import fuction for prestashop. Loads of products and categories are added to the database.The product images are being saved in the img/p/ folder with the corresponding image and product id's as filename. (1-1.jpg)I regenerate all the thumbnails using the Regenerate Thumbnails functionality in the Preferences panel.Somehow the mini thumbnails (the ones displayed in in the admin Catalog) aren't being regenerated. I haven't added them manually though, so I have no clue when they actually were generated. The products in the shop do have mini thumbnails, it's just that when I replace the images in the /p/ folder and regenerate thumbnails, all thumbnails are being regenerated except those in the /tmp/ folder.Permissions are 0777 for both the /p/ folder and /tmp/ folder, and they have the same owner.Any help anyone?Thanks,Daan Link to comment Share on other sites More sharing options...
daans Posted December 1, 2009 Author Share Posted December 1, 2009 Sorry, bumping the topic up a bit.Is there a solution for this? Or do I need to refactor the regenerateThumbnails method? Link to comment Share on other sites More sharing options...
daans Posted December 2, 2009 Author Share Posted December 2, 2009 Anyone ??? Link to comment Share on other sites More sharing options...
jhnstcks Posted December 4, 2009 Share Posted December 4, 2009 The mini thumbnails in the /tmp/ folder are generated when you view the product catalog list in admin. 3 Link to comment Share on other sites More sharing options...
GS VISION Posted August 15, 2014 Share Posted August 15, 2014 Is there a change about that in the newer versions? I`m using 1.6.0.9 and they do not generate. Can I force it someway? Link to comment Share on other sites More sharing options...
R. Svinding Posted December 12, 2014 Share Posted December 12, 2014 (edited) I don't know if this problem i solved by others.. (didn't seem that way) But simply "moving" the images (only product_mini) to another folder (in my case i created "Old_mini") did the trick. It will take quite some time to load the product list the first time in the admin.. but it works. Prestashop will re-generate the Mini's Edited December 12, 2014 by digitallife (see edit history) 1 Link to comment Share on other sites More sharing options...
ietax Posted October 15, 2015 Share Posted October 15, 2015 excuse me... i have same problem. How can I "moving" images to another folder? thanks Link to comment Share on other sites More sharing options...
R. Svinding Posted October 15, 2015 Share Posted October 15, 2015 HI ietax Simply cut/paste via and FTP client (Filezilla?). Cut from the original folder, create a new folder (e.g. OLD_MINI) and paste the _mini files there. If COPY is the only option you have... remember to delete the originals afterwards ) 1 Link to comment Share on other sites More sharing options...
Scully Posted October 19, 2015 Share Posted October 19, 2015 In my opinion, you can delete all images in /tmp folder. We did so in order to regenerate new mini thumbnails since when changing the product images, the existing mini thumbs in /tmp are not renewed. And doing a backup just in case is always a good idea. Link to comment Share on other sites More sharing options...
serdib Posted December 22, 2016 Share Posted December 22, 2016 (edited) How can i change the size of this mini thumbnails? Now it is 45x45 pixels. I tried to change it in Preferences > Images with no luck (I thought that size of mini thumbnails is linked to 'cart_default' size). I can't find "45" digits or something related to this in 'AdminProductsController.php' or 'ImageManager.php'. Edited December 22, 2016 by serdib (see edit history) Link to comment Share on other sites More sharing options...
wippa Posted January 19, 2018 Share Posted January 19, 2018 If you delete the img/tmp contents, the mini images are generated again. I bet that someone deleted whole /tmp folder and forgot to create it again :-) Link to comment Share on other sites More sharing options...
neich78 Posted June 1, 2020 Share Posted June 1, 2020 To delete those images manually is not an option in my opinion because the problem will persist in the next product modifications and orders. Any other fix? thanks 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