Limit the size of img

Ecommerce design Joomla template to start your online business with VirtueMart and additional eshop features.
GK User
Thu Jun 06, 2013 1:01 pm
HI!
I make tree virtuemart modules in my web, (featured prod.) in bottom1, (random) in bottom 6, and another big random on top.
I want to know how can I limit the size of the image showed in this modules, because it looks very big with the thumbnail.
cambios.png


for example the blue is ok but the red is too big.
All the thumbnails are in 220px height

Plase help!

Thanks!
User avatar
Junior Boarder

GK User
Thu Jun 06, 2013 3:01 pm
Could You post an url to your site where I could check this issue?
What should be the max width and/or height of those images?
User avatar
Moderator

GK User
Fri Jun 07, 2013 8:49 am
Sorry, but at the moment I have it on localhost.
I think It could be resized by php on the virtuemart module (but I don't know what module)? could be?
well I think for example 90x90 would be a good size.

thanks
User avatar
Junior Boarder

GK User
Fri Jun 07, 2013 9:12 am
You can set up image sizes (thumbnails) and turn this on in virtue_mart configuration.
Instead You could also use css to set max-width and max-height of an element, so even if it is bigger, it wont go outside its box.
User avatar
Moderator

GK User
Fri Jun 07, 2013 9:45 am
yes, I thought about set max-height of images, but i don't know where the php of the virtuemart product (featured) module is, in order to put a css value, or a value of the element style.

did you know where it is?
(is the yourshop quickstart)
thanks
User avatar
Junior Boarder

GK User
Fri Jun 07, 2013 10:17 am
You dont need virtuemart css files. You could use our override.css that is loaded as last css file to override styles of elements.

Just remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Fri Jun 07, 2013 11:18 am
wow, I did not know this exists,
I've been changing the other css files, this is a great tool.

Thank you very much
User avatar
Junior Boarder


cron