News:

Looking for documentation? Take a look on our wiki

Main Menu

Thumbnails too small

Started by django29, December 31, 2011, 16:20:07 PM

Previous topic - Next topic

django29

Hello.

In the admin of VM (Configuration/Templates/Thumbnail image width") I entered 150 pix width for the thumbnails (blog of products of a category without details).

But the width of thumbnails in the frontend is still 58 pix.
I checked the box "Use VM css".

Where is the problem ?

Ducksoul

Just delete the files in /images/stories/virtuemart/product

After that the thumbs will be regenerated in the right size.

pflaume

i had the same problem, i deleted the images in /virtuemart/product  but then the images was just missing at product page !?

rossstudio

I am having the same problem, see image attached....

[attachment cleanup by admin]

Gary

Same problem, I want my thumbs to be larger but its just not doing it...

fontecreativa

Same problem, I want my thumbs to be larger but its just not doing it...

Anypc

2 options:

Is your screen resolution high enough? VM resizes the thumbnails if the screen gets smaller.

Did you delete the original image ánd the thumbnail image from your FTP? It saves them on 2 different locations.

Prowd owner of webshop:
www.AnY-Computers.nl

Version J2.5.4 with VM 2.0.3E.

100gods

@ Ducksoul
" Just delete the files in /images/stories/virtuemart/product. After that the thumbs will be regenerated in the right size."
I deleted the thumbnails (with suffix 90x90). New files are created (with suffix 120x120) - but the size remains same.

@ Anypc
" Is your screen resolution high enough? VM resizes the thumbnails if the screen gets smaller."
Please suggest how to do this.

" Did you delete the original image ánd the thumbnail image from your FTP? It saves them on 2 different locations."
I am making the site on my PC using XAMPP. Deleting the thumbnail image did not work.


Please advise if there is any other method to do this.

ANOTHER QUESTION PLEASE :
When I press the thumbnail, it opens the original product image (magnified).
I was hoping that once image is magnified, user has option to go to "Next" or "Previous" image .
Please suggest how this can be done.

Thanks.

rossstudio

I deleted all images and re-uploaded. My screen size is just fine (Including scaling the web page).

I had too many issue with Virtuemart so I installed OpenCart (there is a mod for Joomla called AyelShop that works great). I'm a happy camper now.


PRO

have you examined the css thats around the image to make sure the container can accept a larger image?

100gods

@ BanquetTables.pro

Quote from: BanquetTables.pro on January 22, 2012, 19:32:21 PM
have you examined the css thats around the image to make sure the container can accept a larger image?


Apologies - I am a beginner.  Can u please run me through the process of how to do this? Thanks.

I am using Joomla 1.7.3 and VM 2.0

jenkinhill

There is even a video to show beginners how to use Firebug, the tool we all use to look at code & css.  http://forum.virtuemart.net/index.php?topic=73348.0
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

jjk

Perhaps this helps a little bit:

There are two files affecting the thumbnail width:
...\components\com_virtuemart\views\category\tmpl\default.php
Starting around line 208 you will see:

      // Show Products ?>
<div class="product floatleft<?php echo $Browsecellwidth $show_vertical_separator ?>">
<div class="spacer">
<div class="width30 floatleft center">


You can change the "width30 floatleft center" i.e. to "width100 floatleft center"

------------------

Second file affecting the thumbnail is:
...\components\com_virtuemart\assets\css\vmsite-ltr.css
Around line 163 you will see:

.browse-view .row .product .spacer img,.related-products-view .row .product .spacer img{max-width:90%;height:auto;}

You can change the 90% value to 100%.

--------------------

Please also look in the VM2 forum section for "template overrides".
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

100gods

@ JJK :
Thanks a tonne .. This resolved the issue perfectly well . Wow !!  :)

@ jenkinhill:
Thanks for sharing this . Will get myself educated so I can ask better questions  ;)

Hope its not too much to ask - but could you please also spare some time on the following posts and guide a way out:

1. http://forum.virtuemart.net/index.php?topic=96821.msg318487

2. When I press the thumbnail, it opens the original product image (magnified).
I was hoping that once image is magnified, user has option to go to "Next" or "Previous" image so the products can be viewed like a slideshow.
Please suggest how this can be done.

3. http://forum.virtuemart.net/index.php?topic=96820.msg318485#msg318485

Using Joomla 1.7.3 and VM 2.0

Gruz

Quote from: 100gods on January 22, 2012, 21:59:18 PM
2. When I press the thumbnail, it opens the original product image (magnified).
I was hoping that once image is magnified, user has option to go to "Next" or "Previous" image so the products can be viewed like a slideshow.
Please suggest how this can be done.


http://forum.virtuemart.net/index.php?topic=97365.msg322269#msg322269
Your installable language for VM2: http://gruz.org.ua/virtuemart-language-files.html