:: Forums :: Discussions :: EasyShop - general
 
<< Previous thread | Next thread >>
Image Display Modifications
Moderators: nlstart
This thread is now closed
Author Post
jo5u43
Registered Member #3140
Joined:
Posts: 6
OK, I've made some changes to the images that are displayed around the site such as setting the max-width and max-height to 200px for thumbnails. I've also added link tags around the image in the product details which opens the image in a black window.

SC_BEGIN EASYSHOP_PROD_IMAGE
    $in_array = getcachedvars('easyshop_prod_image');
    $item = "[color=#33ff00]<div style='width:200px; height:200px'><a target='_blank' href='".$in_array[0].$in_array[1][0]."'>[/color]<img name='Prod_Image' src='".$in_array[0].$in_array[1][0]."' border='0' [color=#00ff00]style='max-width:200px; max-height:200px;'[/color];>[color=#00ff00]</a>[/color]</div>";
    return $item;
SC_END


My question is, when you've added two images to a product, the two images rotate within the product details. Is there a way I can separate the two images so that you have the ability to click on each image to enlarge in a blank window?

I pretty much just need this code deciphered:

.$in_array[0].$in_array[1][0].


Thank you so much for developing this plug in. It is such a life saver. And thank you in advance for any help provided.
Back to top
 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System