Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cant find "hide product images"


thorkyl

Recommended Posts

I will be honest here, I cant even spell PHP so I dont know how to do this.

 

I need the option as an end user on slow dial up for the site to not serve the product images.

 

Somthing like a text only version of the site only as it pertains to product images.

 

TIA

Link to comment
Share on other sites

The simplest thing (not requiring any coding) would be to use a tiny transparent gif as the image for all the products. You may as well use pixel_trans.gif, which is already in your images directory.

 

Then the only oddity will be that the Show Larger button on the product page will not make sense. To remove that, we can help you edit the product_info.php code.

 

Reading your post again carefully, I hesitate. If you want this feature for only some users, my suggestion would of course not be adequate. Detecting which users are on slow lines, and providing the alternative images (regular and tiny) would require quite a bit of coding.

Edited by zzfritz
Link to comment
Share on other sites

Most modern browsers ( Firefox is a good one http://www.mozilla.org ) will have the option to load a site without images.

If you know you're users it might be a good alternative.

Or they could start surfing with Lynx... ;)

 

You can't really distinguish these users untill they are logged in.

Once they are you could, based on that, give them an alternative tep_image() function, one that doesn;t actually display output.

 

 

HTH

Mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Link to comment
Share on other sites

I was thinking of somthing as session variant that I as an end user set on the front page

with either a select box or a radio button. Then when the user makes the selection nothing happens until they go and look at a product. At this point we check the varient and if its true then show the images if false dont show them.

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