Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Replace the tep_image function


Recommended Posts

Hi. Im not to sure what I am supposed to be doing here.

I am attempting to install the Auto Thumbnailer using GD Library and have hit on a small problem


I have found the tep_image function in te html_output.php file - now this is my dilema:


Do i replace the whole file with what is in the instructions or


Do I copy and paste the whole script into an area in the text shown below?


// The HTML image wrapper function
 function tep_image($src, $alt = '', $width = '', $height = '', $parameters = '') {
   if ( (empty($src) || ($src == DIR_WS_IMAGES)) && (IMAGE_REQUIRED == 'false') ) {
     return false;


In which case where about in the above?


Im really stuck with this as its all quite new to me.





Gill :thumbsup:

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.

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