Zuncan Posted July 11, 2005 Share Posted July 11, 2005 Hi! Im trying to use 3 diffrent sizes of my productimages. One size in the productlisting, one size in product info an one big in the imagepopup window. Im using a contribution that makes thumbnails automatic. If I could just alter this code to make the image show up in a diffrent size: <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'class="main"') . '</a></TD><TD WIDTH="*" valign="top" align="middle" class="erbjudanden"><B>'; I cant change the SMALL_IMAGE_WIDTH because that would make a new thumbnail in that size and that wouldnt look so good when the customers goes monto the productinfo. If I just could add some code to this that loads the image in the SMALL_IMAGE_WIDTH but then force it to be displayed even smaller. Is it possible? /Zuncan So what?! Who care in a hundred years anyway? Link to comment Share on other sites More sharing options...
Guest Posted July 11, 2005 Share Posted July 11, 2005 Hi! Im trying to use 3 diffrent sizes of my productimages. One size in the productlisting, one size in product info an one big in the imagepopup window. Im using a contribution that makes thumbnails automatic. If I could just alter this code to make the image show up in a diffrent size: <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'class="main"') . '</a></TD><TD WIDTH="*" valign="top" align="middle" class="erbjudanden"><B>'; I cant change the SMALL_IMAGE_WIDTH because that would make a new thumbnail in that size and that wouldnt look so good when the customers goes monto the productinfo. If I just could add some code to this that loads the image in the SMALL_IMAGE_WIDTH but then force it to be displayed even smaller. Is it possible? /Zuncan <{POST_SNAPBACK}> Yes, it is possible. Link to comment Share on other sites More sharing options...
Zuncan Posted July 11, 2005 Author Share Posted July 11, 2005 Ok.. So now that I know that.. Could you please provide a answer? So what?! Who care in a hundred years anyway? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.