Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Urgent help needed, image path stopped working?


Guest

Recommended Posts

Hello, the person running the shop has asked me to help, all of the "sudden" the images and link to the CSS seems to have gone broke?

 

Any tips, i have root there. In Config the image path says images/

 

Right click an image and it lists as: http:///images/Penn.jpg

 

So somewhere it adds a new slash there, and the domain wont show in the link for images..(all url-links work 100% though! )

 

 

Any tips please?

 

 

 

:'(

Link to comment
Share on other sites

did he change any other files?

couse the images are generaly called with the tep_href_link function, wich is also used for links, I would try and search the products_info.php for an error in the images

Link to comment
Share on other sites

Well, problem is, ive done a DB reset from a backup, same problem, ive replaced all files in root /catalog, includes and even admin, still no fix!

 

Ive turned of SEO in hopes of the webhost changing something, but no clue there either.

 

This is truly one wierd problem.

Link to comment
Share on other sites

have you got a link so I can take a look?

 

an image link is either full (with domain) or without the http:// part.

when it is full you cannot use the getimagesize() function in order to calculate image sizes, or you would need to rewrite the tep_image function.

what is set in your config file? /image/ or image/ as the image directory?

it should be image/ without the starting slash.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...