Here goes my how do..
First of all added 5 new fields in the products table
product_image_01,product_image_02,product_image_03,product_image_04,
product_image_05, copied the parameters from field product_image.
Secondly gave the images url locations. (as my images are not hosted on the same website.
Thirdly went to http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm and downloaded the source code, see instructions on page,
Four updated view_product.html (under the templates dir) and added this code as follows
Image gallery,
Please click text below...
display('product_image_01')}" rel="enlargeimage::mouseover" rev="loadarea">Image 01
display('product_image_02')}" rel="enlargeimage::mouseover" rev="loadarea">Image 02
display('product_image_03')}" rel="enlargeimage::mouseover" rev="loadarea">Image 03
display('product_image_04')}" rel="enlargeimage::mouseover" rev="loadarea">Image 04
display('product_image_05')}" rel="enlargeimage::mouseover" rev="loadarea">Image 05
display('product_image_01')}" rel="enlargeimage::mouseover" rev="loadarea">
{$product->htmlValue('product_description')}
{if !$product->val('isOpen')}
{/if}
{if isLoggedIn()}
{if $product->val('isOpen') and $product->val('high_bidder') != getUsername()}
val('product_id')}" />
Bid on this product
Amount:val('cooked_minimum_bid')|string_format:"%.2f"}" size="6"/>
{elseif $product->val('high_bidder') != getUsername()}
You cannot bid on this product at this time because bidding is not currently open. Check the open and close times for this product above.
{else}
You are currently the high bidder on this product.
{/if}
{else}
{assign var="product_id" value=$product->val('product_id')}
Log in to bid on this item
{/if}
- auctions4you
- Posts: 16
- Joined: Wed Dec 31, 1969 5:00 pm