Pwalo Posted October 31, 2008 Share Posted October 31, 2008 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 More sharing options...
web-project Posted October 31, 2008 Share Posted October 31, 2008 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 More sharing options...
Pwalo Posted October 31, 2008 Author Share Posted October 31, 2008 correct the path to images folder From where?????? Link to comment Share on other sites More sharing options...
spax Posted October 31, 2008 Share Posted October 31, 2008 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 More sharing options...
Pwalo Posted November 1, 2008 Author Share Posted November 1, 2008 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 More sharing options...
Guest Posted November 1, 2008 Share Posted November 1, 2008 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 More sharing options...
spax Posted November 1, 2008 Share Posted November 1, 2008 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 More sharing options...
Pwalo Posted November 2, 2008 Author Share Posted November 2, 2008 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.