Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Remove clickable image popups


Guest

Recommended Posts

Posted

Hi,

 

I want to remove the ability to click the image in the product display. I don't want any pop up images at all.

 

Any ideas how this can be done?

Posted
Hi,

 

I want to remove the ability to click the image in the product display. I don't want any pop up images at all.

 

Any ideas how this can be done?

 

top

Posted
Are you looking to have full-size images in the product info page or no images at all?

 

jon

 

basically all i want to do is remove the "click to englarge" and unlink the images so that they cant be clicked to launched a popup.

Posted

My answer depends on whether you're happy to use the thumbnail, as it is stuffed into osc defined height/width (but with no link and no Click...), or do you want a larger, better image than the thumbnail (wth no link and no Click...)?

 

If you can answer this for me, then I can reply Take Door #1 or Door #2. Work with me here :)

 

Can you show me a URL?

 

jon

It's all just ones and zeros....

Posted
My answer depends on whether you're happy to use the thumbnail, as it is stuffed into osc defined height/width (but with no link and no Click...), or do you want a larger, better image than the thumbnail (wth no link and no Click...)?

 

If you can answer this for me, then I can reply Take Door #1 or Door #2. Work with me here :)

 

Can you show me a URL?

 

jon

 

Hi there I cant show you a URL due to hackers,

 

If your viewing a product page you see a resized thumbnail, what i want to do is remove the ability for people to click the image and thus open a popup window.

 

I also want to remove the text link underneith it.

Posted

Stock Osc catalog/product_info.php.

 

This:

 

document.write('<?php echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');

To this:

document.write('<?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"'); ?>');

If you have reviews enabled, you will have to also adjust:

 

product_reviews.php

product_reviews_info.php

product_reviews_write.php

 

jon

It's all just ones and zeros....

Archived

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

×
×
  • Create New...