• Welcome to KonaKart Community Forum. Please login or sign up.
 

Displaying multiple images, 4.1.0.0

Started by Vladimir, December 11, 2009, 04:47:22 am

Previous topic - Next topic

Vladimir

In the Admin App it is possible to add multiple images to the Product, but in the frontend showing only one image. This modified page show up to 4 images, is if they are present:

heidi

There are many different ways to define your images and display them in creative ways.

One way, as an example, which we include in the next release is this (and which is shown in our on-line demo):

http://www.konakart.com/konakart/SelectProd.do?prodId=7&manufacturer=Warner&category=Comedy&name=You%27ve+Got+Mail&model=DVD-YGEM

Here we have a naming convention for our images.. 

image.jpg
image_1.jpg
image_1_big.jpg
image_2.jpg
image_2_big.jpg
image_3.jpg
image_3_big.jpg
image_4.jpg
image_4_big.jpg

Once we have these images in place we use a little bit of javascript to display them in an interesting way.   

You are only limited by your own creativity here :-)


Vladimir

It's very nice, tnx!  :)

PS I wanted to write that my solution is very simple, but mistaken on upload file, and therefore post message before finished writing it  ::)

heidi

Hi Vladimir,

I did not mean to criticise your solution in any way - indeed I thank you for posting the idea which will be useful for some people.

I just wanted to explain another way of handling product images with KonaKart :-)

Thanks.

Kundan

in showimagebody.jsp

you can access the other images also

<img src="images/<%=prod.getImage2()%>" height="100" width="100"  />

and the same for

prod.getImage3()
prod.getImage4()