KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: tqumhieh on February 27, 2013, 09:16:01 am

Title: Get all images for a specific Product
Post by: tqumhieh on February 27, 2013, 09:16:01 am
Hi Guys,

Title: Re: Get all images for a specific Product
Post by: tqumhieh on February 27, 2013, 09:17:45 am
Hi Guys,

How can I get all images for a specific product? in addition of getting the number of available images using Server APIs as product.getImage() returns one image, however product.getImageX() return null for all products.
Title: Re: Get all images for a specific Product
Post by: ming on March 10, 2013, 05:35:05 am
How you use the image fields is up to you.   One common usage is for one one of the image fields on the product to be populated and all the names of media relating to that product being derived from that name.... eg  you could store "bike" in the Image() field and have 3 images on the  filesystem called bike1.jpg, bike2.jpg, bike3.jpg and bike4.jpg.

v6.5.0.0 introduces a new way of loading images for a product which is a lot simpler from an Admin perspective - and allows the automatic sizing of a definable set of image sizes for each image that's loaded.