Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Broken images. Please help!


achattykathy

Recommended Posts

Images upload fine. They appear in the catalog. BUT they show up as broken images in the admin.

 

When I right click on the image it says the source is "http://images/bag.jpg" and when I view image it goes to this: http://www.images.com/bag.jpg/

 

It should be this: http://shop.98331gear.com/images/bag.jpg

 

It's not referencing the images correctly. What admin file can I edit to make it view the right images? Or is there some other sort of solution?

 

Thank you.

 

Kathy

Link to comment
Share on other sites

It's not referencing the images correctly. What admin file can I edit to make it view the right images? Or is there some other sort of solution?
admin/includes/configure.php

 

It sounds like it has

  define('HTTP_CATALOG_SERVER', 'http://');

when it should have

  define('HTTP_CATALOG_SERVER', 'http://shop.98331gear.com');

Always back up before making changes.

Link to comment
Share on other sites

admin/includes/configure.php

 

It sounds like it has

  define('HTTP_CATALOG_SERVER', 'http://');

when it should have

  define('HTTP_CATALOG_SERVER', 'http://shop.98331gear.com');

 

THANK YOU, Matt!

 

It turned out to be the right file, this string:

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'shop.98331gear.com/images/');

:D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...