Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

no pictures are displayed


mumulacke

Recommended Posts

Posted

hello i am new on oscommerce and php and i am trying to make an e shop http://garaju-l.ro with oscommerce but after i instaled osc none of the pictures are displayed. can some please help me with this issue.

thanks in advance

Posted

yes they are...this thing happened right after the instalation of osc....i've also tried deleting osc and putiing it back,but nothing

Posted

Are these only your product image files you're talking about? Did the store work with the sample merchandise pictures? Do the various osC icons, buttons, etc. show up OK? If this is a new site and nothing shows up, check if you have "hotlink protection" enabled for images. If you do, your site (domain name) must be "whitelisted" in your .htaccess file. If the icons and buttons and sample store merchandise pictures show up, that suggests a problem with how you're uploading your product image files. Make sure that you're putting them in the right place (the same place the sample images were in) and are uploading in binary mode, and ownership and permissions are correct.

Posted

the images on the site are de sample one i didn't put new images on yet.and olso the osc icons,buttons do not show up.can you please tell me were i can find "hotlink protection" or how can i disable hotlink protection.

thanks very much

Posted

Your hosting control panel may have a button or entry for hotlink protection, that you can turn "off". When you use such a button, it should normally put some lines in the .htaccess file to implement the hotlink protection, along with a line or two to "whitelist" your own site. If you have an add-on domain or a subdomain, you will usually have to manually add it to the whitelist. Here is a typical hotlink protection entry:

 

RewriteEngine on
Options +FollowSymlinks
# hotlink protection and allowed list
# don't forget to add https: for any with SSL
## uncomment following line to PERMIT direct browser access of image files
#RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain\.TLD(/)?.*$	 [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?some-other-domain-to-permit\.TLD(/)?.*$	 [NC]
RewriteCond %{HTTP_REFERER} !^http://mysubdomain\.mydomain\.TLD(/)?.*$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...