Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

No images


Pwalo

Recommended Posts

Forgive my ignorance; complete noob at this but I've setup a new site using one of the free templates which will do the job nicely. All is well except the images do not work (blank with a red cross). I've seen the help file on maybe setting the Link for the stylesheet which I've tried but I'm either doing it wrong or it's another problem. Any help would be great.

Link to comment
Share on other sites

correct the path to images folder

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

The path is set from includes/configure.php, like this:

 

  define('DIR_WS_IMAGES', 'images/');

 

if everything else is correct, that will find the images directory, whether it be at root level or in a sub-directory. i.e. catalog

 

That said, templates are notorious for bad code. If the configure file is ok, right click on a missing image, select Properties and see what the path-to-image looks like.

Link to comment
Share on other sites

The path is set from includes/configure.php, like this:

 

  define('DIR_WS_IMAGES', 'images/');

 

if everything else is correct, that will find the images directory, whether it be at root level or in a sub-directory. i.e. catalog

 

That said, templates are notorious for bad code. If the configure file is ok, right click on a missing image, select Properties and see what the path-to-image looks like.

Thanks Peter, the picture path looks correct ( http://www.coolbiker.co.uk/images/main.jpg ) and the includes/configure entry is

define('DIR_WS_IMAGES', 'images/');

The images folder is under the root.

 

Thanks for helping!

Link to comment
Share on other sites

Thanks Peter, the picture path looks correct ( http://www.coolbiker.co.uk/images/main.jpg ) and the includes/configure entry is

define('DIR_WS_IMAGES', 'images/');

The images folder is under the root.

 

Thanks for helping!

since other images in the same directory do show, have you checked that the missing images have been uploaded, and have the correct permissions?

Link to comment
Share on other sites

All is well except the images do not work (blank with a red cross).

 

You need to be accurate with your problems. As Leslie said, being as you do have images showing, the ones that don't show probably aren't there. The category you have created, doesn't have an image associated to it.

 

There are lots of corrupt images also because they were uploaded in ASCII mode, along with the the text files. You need to upload image files in Binary mode.

 

For security reasons, you need to delete or at least change the name of the install directory.

Link to comment
Share on other sites

You need to be accurate with your problems. As Leslie said, being as you do have images showing, the ones that don't show probably aren't there. The category you have created, doesn't have an image associated to it.

 

There are lots of corrupt images also because they were uploaded in ASCII mode, along with the the text files. You need to upload image files in Binary mode.

 

For security reasons, you need to delete or at least change the name of the install directory.

 

Thanks for your help. Re Uploading seems to have sorted it.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...