Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

big images help


Guest
 Share

Recommended Posts

I am trying to get big images working. I have added the new column to my db and it works in the standard pop-up, but I am trying to just embed the 'big image' into my product info page rather than have a pop-up.

 

what code would I need to insert into my product info page to get this to work?

 

thanks

Link to comment
Share on other sites

can somebody maybe tell me how I can go about getting the image name into a variable so it can be displayed on the page. When I "view source" i get <img src=" "> and no image. I need to fill the blank with the name of product image, ie "widget.gif". If somebody could help me with the code needed to do that I'd appreciate it. Right now this is the code I am using to call the image on the product info page.

<?php echo tep_image(DIR_WS_IMAGES . $product_info['products_bimage'], $product_info['products_name']) . '</a>'; ?>

 

but apparently the $product_info variable isn't getting filled in.

 

thanks

Brian

 

 

 

 

 

I am trying to get big images working. I have added the new column to my db and it works in the standard pop-up,  but I am trying to just embed the 'big image' into my product info page rather than have a pop-up.

 

what code would I need to insert into my product info page to get this to work?

 

thanks

Link to comment
Share on other sites

I did find a solution to the problem however I'm not using STS, but I would assume it would still work for you, I built my pages from scratch. Anyway I remedied the image problem by replacing every instance of "product_image" with "product_bimage" on the product info page and it worked great. Hope it helps

 

Brian

 

 

 

Hi Brian, did you find a solution to thsi problem?  Im having the same problem, as I want the "big" image to be diplayed in the product info page and not as a popup.

 

im using STS also.

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.

 Share

×
×
  • Create New...