willo_the_wisp Posted January 28, 2011 Share Posted January 28, 2011 Hi,I'm new to Prestashop, and I have a question.If I create a product, but don't upload an image, I want the system to show a default 'Awaiting photo' image. Does anyone know how to do this?I have created an image to use, but can't see anywhere in the Back Office to upload it.Thanks,Willo Link to comment Share on other sites More sharing options...
shokinro Posted January 28, 2011 Share Posted January 28, 2011 I am not sure if there is any admin page to do that or not.But you can do this by replacing following imagesYouSiteRoot/img/p/en-default-large.jpgYouSiteRoot/img/p/en-default-medium.jpgYouSiteRoot/img/p/en-default-small.jpgYou will have create one set of images for all languages your store speaks. Above list is for English which is start with "en" the ISO code of the language. Link to comment Share on other sites More sharing options...
willo_the_wisp Posted January 28, 2011 Author Share Posted January 28, 2011 Thanks Shokinro, I've done that. However, it's still not showing the default image.If you go to http://www.livinginandout.co.uk/product.php?id_product=2223, you'll see the product. I created it deliberately without a photo, hoping it would show the default 'Awaiting photo' image.This is a site which I've taken over from another developer, and I wonder if he removed the code to display the default images you mentioned? Does anyone know what code is needed for this, and which .tpl or .php file it needs to go in?Thanks,Willo Link to comment Share on other sites More sharing options...
shokinro Posted January 28, 2011 Share Posted January 28, 2011 Sorry, there is one more image you need to replaceen-default-thickbox.jpgen-default-home.jpgAnd make sure file name and extention are corrected. If everything did correct. It should work.Please also clear your browser caches.Here are the links to my demo site that shows the changed images.http://expresscheckout.dyndns.org:8080/shop1323/category.php?id_category=3http://expresscheckout.dyndns.org:8080/shop1323/product.php?id_product=13 Link to comment Share on other sites More sharing options...
willo_the_wisp Posted January 28, 2011 Author Share Posted January 28, 2011 Hi Shokinro,Thanks again for your help. What you suggested in your first reply would have worked, however I discovered that the images you mentioned were in the /img/c/ folder rather than the /img/p/ folder for some reason.I guess the guy who worked on the site before me must have moved them.However, the problem is now solved. See http://www.livinginandout.co.uk/product.php?id_product=2223Thanks again.Willo Link to comment Share on other sites More sharing options...
shokinro Posted January 28, 2011 Share Posted January 28, 2011 glad the issue is fixed. Could you please mark this thread as SOLVED by added [sOLVED] to the beginning of your first post title. Link to comment Share on other sites More sharing options...
optiplex1 Posted January 28, 2011 Share Posted January 28, 2011 your argument solve my problemthanks for discussion. 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