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

VM 3.0 - Make thumbnails larger

Started by cypresstwist, January 10, 2015, 11:47:45 AM

Previous topic - Next topic

cypresstwist

I'm using Vm 3.0.2. Default theme. My main VM page only needs to show the Latest Products.

I need to make the product thumbnails larger in Latest Products.
I also need to make the image in the product view page larger.
I also need to remove the "Product details" button from the Latest products main page.

I searched for hours for answers but all I bump into is VM 2.x related threads and they don't help me.
Thanks in advance for your attention.

AH

To make your thumbnail images larger -

Go into

admin/vm/configuration

template tab

Thumbnail Image Width    
Thumbnail Image Height

Set to what you require (make sure it is not larger than your base image size)

If your images are not all proportionally the same height and widths - it will adjust and may make your images look distorted
Regards
A

Joomla 4.4.5
php 8.1

cypresstwist

I changed the setting already. Changed it again. Deleted the thumbails from /images/stories/virtuemart/product/resized, hit refresh with Ctrl+F5. Same thing. "Latest products" displays the same small thumbs.

GJC Web Design

then their size is being set by css - use firebug to find
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

AH

make sure you clear your cache folder

It works as I have just tried it in my test system

what size are you using

also look and see what image is being delivered to the page it will have a name with the size value that should match your settings

if not it is being set by css
Regards
A

Joomla 4.4.5
php 8.1

cypresstwist

Cleared Joomla cache, browser cache, still the same.

http://i.imgur.com/8rCkO6R.png

I'll search the CSS then, but i tried this already and couldn't find the value.

Also, how do I remove the "Product details" button from the Latest products main page?

cypresstwist

Later edit: found it.

In /components/com_virtuemart/assets/css/vm-ltr-site.css

i changed

.browseProductImage {max-height: 90px;width:auto;max-width: 100%;}

to

.browseProductImage {max-height: 340px;width:auto;max-width: 100%;}

Deleted the old thumbnails from /images/stories/virtuemart/product/resized and it worked.

But now, how do I get rid of the "Product details" button?