cmsrichie Posted September 24, 2010 Posted September 24, 2010 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
Guest Posted September 24, 2010 Posted September 24, 2010 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
cmsrichie Posted September 24, 2010 Author Posted September 24, 2010 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
obboy Posted September 24, 2010 Posted September 24, 2010 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.
multimixer Posted September 25, 2010 Posted September 25, 2010 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"') My community profile | Template system for osCommerce - New: Responsive | Feedback channel
cmsrichie Posted September 25, 2010 Author Posted September 25, 2010 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 :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.