Website Migration Guides
A simple free resource for website migration
A massive thank you to the following people who have donated this month:
Sadly no one has helped me this month :(
How to fix PrestaShop's no image watermark bug
If you are using PrestaShop 1.7 and you have the official watermark module installed, you may have noticed that when you enable "Logged in customers can see images without watermark" a bug occurs which means anyone logged in can not see your images!
Luckily the fix is very easy and is just one line of code to disable.
Step 1 : Log into your hosts file manager (or connect via FTP)
Open up your hosting control panel and look for a file manager application. Once you are connected navigate to the file modules/watermark/watermark.php and open it up to edit it
Step 2 : Comment out the problem line of code
Scroll down to line 298 and you should see
Add two forward slashes in front of the line like below
// Options +FollowSymLinks
then save the file
Step 3 : Regenerate image
Open up your PrestaShop admin and select Design from the left menu, then click Image Settings.
Once it has loaded, scroll down to the "REGENERATE THUMBNAILS" section and select "All" from the "Select an image". Toggle the "Erase previous images" to "YES" then click the "Regenerate thumbnails" button.
That's it. Once the regeneration has completed, your logged in customers will be able to see the product images.
If this guide has helped you or if you feel it could be improved, please let us know in the comments below.
Hi, did this site help you?
I'm John and this little website is my online side project. It isn't sponsored by any company (despite their best efforts!) and I rely solely on donations to pay the hosting fees.
If this site has helped you please consider making a small donation using the link at the top of the page.
Thanks again and happy surfing.