Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Removing "click to enlarge" link and text with additional images installed


cmsrichie

Recommended Posts

Posted

I'm really stuck, I've looked on the forums for a solution but everything i try in the product_info file doesnt seem to affect my link or click to enlarge text. i thought maybe this is because i have an additional images module installed so i'm now looking in the "additional_images.php" theres this bit of code

 

'<a href="javascript:popupWindow(\'' . tep_href_link (FILENAME_POPUP_ADD_IMAGE, 'imagesID=' . $new_products['additional_images_id']) . '\')">' . tep_image(DIR_WS_IMAGES . $new_products['medium_images'], $new_products['images_description'], DISPLAY_IMAGE_WIDTH, DISPLAY_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>

 

but i dont know what to remove or what to leave. Im new to all this so if anyone has any suggestions it would be greatly appreciated.

thanks

Posted

Richie,

 

To make sure I understand what you want, do you want to remove the text 'CLICK TO ENLARGE' or the ability to have the image enlarged along with the text ?

 

 

 

Chris

Posted

Hi Chris,

Thanks for the reply. I want to remove the text, and the ability to click the image or text as a link. Hope this makes sense

Posted

Hi Chris,

Thanks for the reply. I want to remove the text, and the ability to click the image or text as a link. Hope this makes sense

 

I think what you need to do is remove the image and anchor but leave the text correct? The reference to the text is TEXT_CLICK_TO_ENLARGE so you could replace all the code you stated with something like:

 

<?php echo TEXT_CLICK_TO_ENLARGE; ?>

or

<?php echo 'This is an image'; ?>

 

etc.

 

 

Hope that helps.

Posted

Thats the plain image, without link and text

tep_image(DIR_WS_IMAGES . $new_products['medium_images'], $new_products['images_description'], DISPLAY_IMAGE_WIDTH, DISPLAY_IMAGE_HEIGHT, 'hspace="5" vspace="5"')

 

 

 

That is perfect, you're a genuis.

Thanks for the help :)

Archived

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

×
×
  • Create New...