Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Category Images not showing on home page


richaldridge

Recommended Posts

Posted

Hi,

 

I'm working on a project that was started by someone else and left for me to fix.

 

Basically, when you set up a new category and add an image, the image loads fine onto the server, and indeed can be seen in the admin panel.

 

When I come to view it on the site home page, the image has been replaced with an 'image not found' logo - one designed for the site if the image cannot be found.

 

Obviously the site has been heavily modded, so not sure where the problem might lie? The image is definitely on the server, it's something possibly to do with the image URL/link not being written to the database perhaps?

 

Could anyone suggest the first place to start looking?

 

Thanks,

Richard

Cheers,

Richard

Posted

Richard

 

You might want to check header.php in the includes directory they might have moded the header file

 

S

 

Hi,

 

I'm working on a project that was started by someone else and left for me to fix.

 

Basically, when you set up a new category and add an image, the image loads fine onto the server, and indeed can be seen in the admin panel.

 

When I come to view it on the site home page, the image has been replaced with an 'image not found' logo - one designed for the site if the image cannot be found.

 

Obviously the site has been heavily modded, so not sure where the problem might lie? The image is definitely on the server, it's something possibly to do with the image URL/link not being written to the database perhaps?

 

Could anyone suggest the first place to start looking?

 

Thanks,

Richard

Posted

If they show up OK in the admin, check your catalog/includes/configure.php and compare it with the catalog/admin/includes/configure.php file, sounds like path might be different to images directory.

Posted

Thanks Sam, I'll look into that.

 

It's worth noting that the current categories all have images which show on the main site - its just new categories.

 

And cyberfolli, the header file will have been modified - not sure if that would effect all images though?

 

Thanks for the replies - any more suggestions?

 

EDIT: Checked header.php and also tried a fresh file - no difference to the problem :(

Cheers,

Richard

Archived

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

×
×
  • Create New...