Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

blank images appearing as broken links


Guest

Recommended Posts

Hi all, I've run into a problem that is driving me nuts as I can't seem to figure it out.

 

I've set up my OSC site and all seemed to be working well until I tried to customize some stuff related to the images. I tried to undo whatever I did and it seems to have worked except for items that don't have an image.

 

OSC tries to display the image but the image is broken obviously because there isn't anything there. If I right click on the broken image, the image properties say the image is supposed to be at http://sitename.com/images/

 

Most of the images still work (the default OSC images are fine, but any products that don't have an image have this problem.)

 

Which file should I be looking at to fix this problem?

 

Any help would be greatly appreciated as this is getting really frustrating....

 

-emissary

Link to comment
Share on other sites

Hi all, I've run into a problem that is driving me nuts as I can't seem to figure it out.

 

I've set up my OSC site and all seemed to be working well until I tried to customize some stuff related to the images. I tried to undo whatever I did and it seems to have worked except for items that don't have an image.

 

OSC tries to display the image but the image is broken obviously because there isn't anything there. If I right click on the broken image, the image properties say the image is supposed to be at http://sitename.com/images/

 

Most of the images still work (the default OSC images are fine, but any products that don't have an image have this problem.)

 

Which file should I be looking at to fix this problem?

 

Any help would be greatly appreciated as this is getting really frustrating....

 

-emissary

 

 

I had this problem with my store. I ended up creating a file called logo.gif and editing all of the products without images to use logo.gif

 

The following SQL statement can update all of your products without images at once:

Update products set products_image = 'logo.gif' where products_image = Null or products_image = ''

Based on OsCommerce 2.2 MS2 - Mods Including: Customer Approval, STS Template System, OS-CMS, Sage Line 50 Sync, Locate a Stockist, Auto Thumbnailer, Easy Populator, Visitors Stats, Extra Images, Header Tags Controller, Unsold Cart, Products w/o Description/Prices/Images Reports, Backup Customers Table, Login to See Prices. Full customised products_info.php page. OSC Links Manager. Minimum Order Amount. Visitor Web Stats. Google Sitemap. All products page (user sitemap).

 

The OsCommerce Site is hosted on 1 domain with 20 feeder domains extracting data from OS-CMS & the shop catalogue.

 

If you would like to view my website in relation to any of my posts you can google my forum username to find my URL or add a (dot)co(dot)uk to the end of it.

Link to comment
Share on other sites

I also have the show broken images set to false in the configuration section which hasn't helped in this issue.

 

Also, if I go to the product detail page, the image doesn't show (as it should since there isn't an image to display.) But if I view the product from the categories view or on any other page that isn't the product description the broken image is displayed.

Link to comment
Share on other sites

I also have the show broken images set to false in the configuration section which hasn't helped in this issue.

 

Also, if I go to the product detail page, the image doesn't show (as it should since there isn't an image to display.) But if I view the product from the categories view or on any other page that isn't the product description the broken image is displayed.

Link to comment
Share on other sites

Hi, thanks for the reply. I've considered doing something like this, but what gets me is this was functioning like it should earlier - now I can't figure out what I need to change to fix it.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...