Jump to content

Product photos do not display in categories or shopping basket


Paul 0'Reilly

Recommended Posts

Hi,

Have a frequent problem in CC5, where product photos do not display in categories or customers shopping basket. Was advised to clear cache in admin- maintenance.

Did this and can see categories but again no product pics in  Checkout 'basket'. Would love to know why this is happening and permanent fix, as no doubt costing client sales.

Thanks all.

Screen Shot 2015-06-01 at 12.01.37 pm.png

Link to comment
Share on other sites

According to my tests, all images, wherever they may intended to be shown, if under https protocol (SSL), such as when viewing the basket, is 403 Forbidden.

You may need to consult with your hosting provider to determine why all images are denied being served by the web server. Perhaps an .htaccess rule, perhaps some other web server configuration.

Link to comment
Share on other sites

Thanks for your help

FYI: Here's the rtn. message from host tech, which has now fixed problem...

"It was your .htaccess file. This was the content:
RewriteCond %{HTTP_REFERER} !^http://glendinnings.com.au/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://glendinnings.com.au$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.glendinnings.com.au/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.glendinnings.com.au$      [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

I'm not too good with htaccess syntax, but it's pretty clear that this affects images. This wasn't generated by Cubecart (or by me obviously). I renamed the file to ".htaccess_nope" so if there's a reason this was added you can put it back if you want.
 

Many thanks

Edited by Paul 0'Reilly
more info
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...