News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

additional images

Started by RedCat2005, August 15, 2013, 14:49:36 PM

Previous topic - Next topic

RedCat2005

Hello everyone,

Maybe it's already asked by someone. I have made an category override in the html folder from my template. I am customizing the default.php file. But i was wondering how can i get all the additional image thumbnails from products on a product overview page from a certain category? I only want the file names with path to appear from the resized folder.
I cannot find these it in the db table #__virtuemart_medias. Only the file path from the original file.

Maybe it is really simple.

Thank you


jjk

#1
Quote from: RedCat2005 on August 15, 2013, 14:49:36 PM
Maybe it's already asked by someone.
As far as I can remember, nobody else had this somewhat strange idea yet :-)
I think if you do that, the layout of the category browse page will often look a little bit disorganized.
Each additional image file is stored in the _virtuemart_medias table, just like the primary image. The additional images are linked to the primary image in the _virtuemart_product_medias table.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Maxim Pishnyak

Quote from: RedCat2005 on August 15, 2013, 14:49:36 PM
i was wondering how can i get all the additional image thumbnails from products on a product overview page from a certain category? ...
'from' or 'for'?

There's already solution on forum for this.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

RedCat2005

#3
Thank you for your answers. Maybe it is a strange request in the way i posted it.
I will be more specific of my intentions. I need the additional images to create an image slide when someone hovers over an article/product.
I can query the additonal 'original' images from the _virtuemart_medias table with the _virtuemart_product_medias table. But i want the resized versions.

Basically i want to know. Where does VM store the info of the resized images?

jjk

Quote from: RedCat2005 on August 16, 2013, 13:14:52 PM
Basically i want to know. Where does VM store the info of the resized images?
The thumbnails are created once only and stored in your 'resized' folder. If you didn't change the image folders/paths, they should be in ...\images\stories\virtuemart\product\resized
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Maxim Pishnyak

Quote from: Maxim Pishnyak on August 15, 2013, 19:00:16 PM
There's already solution on forum for this.
Probably I need to say in plain words, that using forum search button could help.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart