Squared Virtuemart thumbnails?

GK User
Fri Apr 13, 2012 2:52 pm
Hello,
i would like to ask is it possible to make the thumbnails (virtuemart) squared - for example: to keep the smaller side and to crop the other one to have a squared image - in this way it will look better instead of image with all different proportions.

Any help appreciated!
User avatar
Senior Boarder

GK User
Sun Apr 15, 2012 11:57 pm
Hi

Please enable override.css on template parameters and add this line on this file:

Code: Select all
.additional-images .product-thumb {height: 78px; }


Cheers
User avatar
Platinum Boarder

GK User
Mon Apr 23, 2012 3:03 pm
Not working - it changes just the height on the thumbnails in the single product view - i want to have the squared thumbnails on the CATEGORY view -where you can see all the products.
Any help?


Seichinha wrote:Hi

Please enable override.css on template parameters and add this line on this file:

Code: Select all
.additional-images .product-thumb {height: 78px; }


Cheers
User avatar
Senior Boarder

GK User
Wed Apr 25, 2012 4:36 pm
Is there any chance for help in this? Please?
User avatar
Senior Boarder

GK User
Fri Apr 27, 2012 10:32 am
Hello Gavick team. I am waiting for reply.
As i mentioned - this solution is not working .

Is there a chance to have this solved or no?

I need to know this ASAP as i am working on a real website and really nheed this done.

I can see that there are people around - but no attention on muy question.
Why???
User avatar
Senior Boarder

GK User
Sun Apr 29, 2012 1:03 pm
So no support for me?
User avatar
Senior Boarder

GK User
Mon Apr 30, 2012 6:05 pm
i am still here... can't understand why i have been ignored????

i tought that you guys are professionals - is that correct?
because i also am and when a client of mine is asking for help - i am helping.

Am i a client - with subscription or not? Pleas emake this clear so for - i don't want to bother you if you think i am not a client of your!

Is this a sample of a Gavick support?!
User avatar
Senior Boarder

GK User
Mon Apr 30, 2012 6:13 pm
Hi again

If you want to have a square image, you need to set width and height of the image. There's no option for crop image on VM.

If you open this file ../gk_esport/css/vm.css you will find this class:

Code: Select all
.additional-images img {
      width: 50px;
}


This sets image width to 50px and height will be automatic.
So if you add square images, the thumbnails will come out square. If not, you can set on override.css file (for example):

Code: Select all
.additional-images img {width: 50px!important; height: 50px!important}


The previous code that i add is only for the image div wrapper (that is displayed on rectangular size). I was thinking that you were referring to this .

Again, there no thumbnails crop option on VM.

On category view the thumbnail is being displayed according to VM settings (i mean on our demo) . In this case, 90x90 pixels like you can check on VM configurations.

If you want more help, please show us your website for us to see what's going on there.

Cheers
User avatar
Platinum Boarder


cron