Hello,
in recent updates of Prestashop 1.7.8.8 and 1.7.8.9, you can experience a bug with frontend images.
It blocks all images from the upload folder.
You can add a piece of code in the /.htaccess file to solve the problem.
After this already existing code:
RewriteEngine on
RewriteRule . - [E=REWRITEBASE:/]
RewriteRule ^api(?:/(.*))?$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]
Insert this:
RewriteCond %{REQUEST_FILENAME} !.+\.(jpg|jpeg|png|gif|swf|ttf|otf|woff|woff2|eot|svg|webp)$
RewriteRule ^upload/.+$ %{ENV:REWRITEBASE}index.php [QSA,L]
Best regards
in recent updates of Prestashop 1.7.8.8 and 1.7.8.9, you can experience a bug with frontend images.
It blocks all images from the upload folder.
You can add a piece of code in the /.htaccess file to solve the problem.
After this already existing code:
RewriteEngine on
RewriteRule . - [E=REWRITEBASE:/]
RewriteRule ^api(?:/(.*))?$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]
Insert this:
RewriteCond %{REQUEST_FILENAME} !.+\.(jpg|jpeg|png|gif|swf|ttf|otf|woff|woff2|eot|svg|webp)$
RewriteRule ^upload/.+$ %{ENV:REWRITEBASE}index.php [QSA,L]
Best regards