Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Solution to: Image does not display after replacing tep_image()


a_khan69

Recommended Posts

I spent about an hour trying to figure it out, but i finally got it to work.

 

If your product images were displaying correctly before you over wrote the tep_image() function, try this.

 

Right click on one of your product image and select "properties"

 

copy paste the address or url that looks something like this into your browser:

 

http://www.yourdomain.com/imagemagic.php?i...;h=85&page=

 

You will get a bunch of errors.

 

In the first line or the first few lines, if you see a permissions error, simply create a directory called "thumbnails" under catalog (catalog/thumbnails/) based on whether you have a catalog directory or not. If you don't have a catalog directory, create the "thumbnails" folder under public_html

 

Assign the "thumbnails" directory 777 permission. Go to your website and refresh your products page.

Hopefully, your images will start to show.

 

I hope this helps someone.

 

Ahmed

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...