Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Having multiple images per item and enlarging


Guest

Recommended Posts

Ok, first I was wondering if there's an easy way to have multiple pictures for the same item. I dont care about the thumbnail, but more having several pictures in the discription.

 

Also, my digital camera takes huge (1600X1200) dpi pictures. I like taking the pics at that large to keep the detail and be able to cut the image down later.

 

 

When I upload the pics, and someone clicks to enlarge them, it shows up full size without scroll bars.

 

Is there an option to set the size of the new window it opens?

 

Thanks everyone!

 

This forum is a blassing to anyone using oscom.

Link to comment
Share on other sites

For your first question, you would need to either set up a separate sql table for the extra photos, or add fields (columns) to the products table such as products_image2, products_image3, etc (probably the easiest way but still quite complicated). There is a contribution that explains how to add fields to the products table, but there may also be a contribution that will do exactly what you need.

 

For your second question, open catalog/product_info.php and look for this script:

 

<script language="javascript"><!--

function popupWindow(url) {

  window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res

izable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,le

ft=150')

}

//--></script>

 

Try changing the width and height, set the scrollbars to "yes" if you want them. Hope this helps.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...