PeteZ Posted January 9, 2014 Share Posted January 9, 2014 (edited) I understand that Prestashop 1.5 resizes and optimises product pics on upload but I have always resized images BEFORE upload because I thought that Prestashop keeps a copy of the original full size image on the server. I cant find any info on this anywhere. Can someone clarify and where are the original large images stored if I want to resize them to keep server size small. Many thanks Edited January 9, 2014 by PeteZ (see edit history) Link to comment Share on other sites More sharing options...
PeteZ Posted January 9, 2014 Author Share Posted January 9, 2014 I have found the images in public_html/img/tmp Is it safe to delete these to get some space back on the server. Many image files which are 8mb each approx. Link to comment Share on other sites More sharing options...
limon994 Posted January 9, 2014 Share Posted January 9, 2014 Hello, Go to your back-office and log-in. Then go to the images sub tab under Preferences tab. Here you can configure your image sizes. Thanks, Link to comment Share on other sites More sharing options...
PeteZ Posted January 9, 2014 Author Share Posted January 9, 2014 hi limon, Yes I am aware of that. The question was not to do with that. Please re read it. Link to comment Share on other sites More sharing options...
vekia Posted January 9, 2014 Share Posted January 9, 2014 I have found the images in public_html/img/tmp Is it safe to delete these to get some space back on the server. Many image files which are 8mb each approx. no, it's not safe prestashop uses this directory to display images in back office and also in orders history in front office, don't remove it. Link to comment Share on other sites More sharing options...
PeteZ Posted January 9, 2014 Author Share Posted January 9, 2014 (edited) too late I already removed them. Why were they so huge? around 5 or 6mb each one Can someone PLEASE answer my original question? Is this a difficult question or is my question not clear. I upload a 3mb product image. It get reduced and optimised by PShop. What happened to the original full size image?Where is it stored on server so I can remove to bring server size down? Thanks Edited January 9, 2014 by PeteZ (see edit history) Link to comment Share on other sites More sharing options...
PeteZ Posted January 9, 2014 Author Share Posted January 9, 2014 Also why is there no tutorial anywhere on procedure when uploading images for products. For example maybe something like.. "Your images should be resized and optimized before uploading for Prestashop. We suggest 600pix. Resize and optimise the images and then upload as usual via Prestashop." This is a major step that is not shown to ANY newbies. So most people would upload a 10mb full size image and waste so much space on their server. Link to comment Share on other sites More sharing options...
PeteZ Posted January 9, 2014 Author Share Posted January 9, 2014 Pls help me with this as I urgently need to remove the large files from the server to bring space down Link to comment Share on other sites More sharing options...
PeteZ Posted January 9, 2014 Author Share Posted January 9, 2014 seems there are different views by the admins here as in this post the admin says its ok to delete the files except the index one. So who is right????? http://www.prestashop.com/forums/topic/61807-solved-temporary-image-import-files-in-imgtmp/ Link to comment Share on other sites More sharing options...
vekia Posted January 10, 2014 Share Posted January 10, 2014 orginal full size file is also stored there, it's because - if you will want to change sizes of thumbs, you must have original picture to do it. so prestashop saves this file too. "Your images should be resized and optimized before uploading for Prestashop. We suggest 600pix. Resize and optimise the images and then upload as usual via Prestashop." it's not necessary to resize images. In fact... you probably know that you haven't got enough space on your host HDD... Link to comment Share on other sites More sharing options...
vekia Posted January 10, 2014 Share Posted January 10, 2014 seems there are different views by the admins here as in this post the admin says its ok to delete the files except the index one. So who is right????? http://www.prestashop.com/forums/topic/61807-solved-temporary-image-import-files-in-imgtmp/ it's old topic. if you'd asked me about it 4 years ago I would say the same as other mod there. Topic is related to old 1.2 version now prestashop is in 1.5 version and works a bit different, much better in my opinion. and tmp directory is necessary for several parts of shop, both bo and fo. Link to comment Share on other sites More sharing options...
PeteZ Posted January 10, 2014 Author Share Posted January 10, 2014 Thanks for the help. mmm well I did delete them although I have a backup and I cant see any negative effect. What issues should I look for? Link to comment Share on other sites More sharing options...
vekia Posted January 10, 2014 Share Posted January 10, 2014 for example - check images of products in orders history (customer account in front office) if product cover photo doesnt exist - prestashop will use tmp dir. Link to comment Share on other sites More sharing options...
PeteZ Posted January 10, 2014 Author Share Posted January 10, 2014 Ok I see. In that case I will instruct customer to upload at 600px optimised. I think this is best solution to keep file size down. Do you agree? Link to comment Share on other sites More sharing options...
Recommended Posts