Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Images not displaying...


discobob83

Recommended Posts

Posted

Hi All,

 

I've just noticed a strange problem. I'm still in the early stages of modifying my site and I noticed that some of the pages don't display any image files (just empty boxes with little red crosses in the top left corner) It's only on some pages on most pages the images display fine.

 

Does anyone know why this might be the case?

 

My site is at www.obtds.co.uk if you click on one of the product images on the homepage you can see what I mean.

 

Any help would be hugely appreciated.

 

Best Wishes,

 

Tom

Posted

Tom,

 

It appears you have changed the product_info.php file to add an image contribution.

 

You will need to change the page type for that file as Internet Explorer does not like the current setting.

 

Try this one:

 

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

 

or, read the installation instructions about possible alternatives.

 

 

Chris

Posted

Hi All,

 

I've just noticed a strange problem. I'm still in the early stages of modifying my site and I noticed that some of the pages don't display any image files (just empty boxes with little red crosses in the top left corner) It's only on some pages on most pages the images display fine.

 

Does anyone know why this might be the case?

 

My site is at www.obtds.co.uk if you click on one of the product images on the homepage you can see what I mean.

 

Any help would be hugely appreciated.

 

Best Wishes,

 

Tom

 

In your Admin, set 'Use Search-Engine Safe URLs (still in development)' to false.

 

Save it.

 

Sometimes you have to set 'Use Cache' to false Or clear the cache) to see any change.

 

The problem is your links.

 

Now it is:

 

http://YOUR_DOMAIN.co.uk/product_info.php/products_id/26

 

They need to be:

 

http://YOUR_DOMAIN.co.uk/product_info.php?products_id=26

 

Doing what I said fixes the problem and the image will show.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

Hi Jim,

 

That's worked perfectly!! Thanks so much. It's really stressful and intimidating trying to do this stuff for the first time and having people who are not only able to help, but willing to is just amazing.

 

I am extremely grateful!! :)

 

My very best wishes,

 

Tom

 

In your Admin, set 'Use Search-Engine Safe URLs (still in development)' to false.

 

Save it.

 

Sometimes you have to set 'Use Cache' to false Or clear the cache) to see any change.

 

The problem is your links.

 

Now it is:

 

http://YOUR_DOMAIN.co.uk/product_info.php/products_id/26

 

They need to be:

 

http://YOUR_DOMAIN.co.uk/product_info.php?products_id=26

 

Doing what I said fixes the problem and the image will show.

Posted

Hi Chris,

 

Thanks so much for the reply. I'd actually forgotten that I'd already installed the multi-pics add-on during this install (this is my fourth fresh install while I work stuff out)

 

Really appreciate you taking the time to help out!

 

My very best wishes,

 

Tom

 

Tom,

 

It appears you have changed the product_info.php file to add an image contribution.

 

You will need to change the page type for that file as Internet Explorer does not like the current setting.

 

Try this one:

 

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

 

or, read the installation instructions about possible alternatives.

 

 

Chris

Archived

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

×
×
  • Create New...