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

Image Help

Started by brzn99, April 27, 2009, 12:05:49 am

Previous topic - Next topic

brzn99

I am trying to understand the image architecture for products in konakart. The demo store comes with the images preloaded as part of the war. When new images are loaded, they need to be stored outside the war file. If i want my image named 'test1.jpg' to be stored in d:/images, what should the values be for:

Image base URL:
Image base Path:
Image Path:
Image Name:
Image 1:

Thanks for you help.

Bil

heidi

Have you read the help provided in the Admin App on the product images page?

brzn99

I did and it says to set the image base path to:

C:/jboss-4.2.2.GA/server/default/deploy/konakart.war/images

I cannot set the image base to anything deployed inside the war, because JBOSS will undeploy and redeploy thus deleting any images that are stored in the web app. I would like to have my images stored in c:/images which is completely outside the application. When I look at the jsp's, the images seem to be hardcoded as SRC=images/<%=prod.getImage%>

Do these jsps need to be updated with a new action to retrieve the images like:

SRC=getMyImage.do?image=<%=prod.getImage%>