EPStore Posted January 26, 2011 Share Posted January 26, 2011 Hey guys, As for now, there's only 1 preview picture showing on my products page (for every item)... How should I go about adding another one, of the exact same size, but just next to the first so that I could have a front AND a rear view of my products? Is it as simple as copying and pasting a section of some code? Sorry if this sounds like a stupid question; I'm just getting started in PHP, so ya maybe I am stupid after all :) I think this is the code for the first picture: $p_desc = substr(strip_tags($product['products_description']), 0, MAX_DESCR_PRODS_NEW).'...'; $p_id = $product['products_id']; $p_pic = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $products_new['products_image'], $products_new['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>'; $p_name = '<span><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new['products_id']) . '">' .$products_new['products_name'] . '</a></span>'; Anyone? Link to comment Share on other sites More sharing options...
FIMBLE Posted January 26, 2011 Share Posted January 26, 2011 You are better off adding an " extra pic's" contribution. There are a few to choose from, depending on the version you use. Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
EPStore Posted January 27, 2011 Author Share Posted January 27, 2011 You are better off adding an " extra pic's" contribution. There are a few to choose from, depending on the version you use. Nic Great, I'll look into this. Thanks Fimble! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.