Author Topic: Product image too big on product details page  (Read 40302 times)

Gruz

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 159
  • Copyleft (є) all rights reversed
Your installable language for VM2: http://gruz.org.ua/virtuemart-language-files.html

100gods

  • Beginner
  • *
  • Posts: 39
Re: Product image too big on product details page
« Reply #16 on: February 09, 2012, 17:39:28 pm »
Hello Gruz,

Thanks for bearing with me !! :-(
Unfortunately, I am still stuck. If you could spare a few more minutes ...

When the user clicks on product thumbnail, the effect should be simply like this (please scroll till midway and click on either of the IMAGES) :
http://extensions.joomla.org/extensions/extension-specific/virtuemart-extensions/virtuemart-products-display/14932

The "Next" and "previous" icon appear, giving the user a slideshow option of product images !!

Or alternatively, a software which could do image magnification like this:
http://www.gifto.in/category.php?id_category=13

Thanks.

Gruz

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 159
  • Copyleft (є) all rights reversed
Re: Product image too big on product details page
« Reply #17 on: February 09, 2012, 18:34:13 pm »
Give me access to your web-site so I can fix it. PM the access.
Your installable language for VM2: http://gruz.org.ua/virtuemart-language-files.html

rlspencer

  • Beginner
  • *
  • Posts: 18
Re: Product image too big on product details page
« Reply #18 on: February 10, 2012, 03:20:27 am »
I understand that you may want the community to "awake" to loading huge images however the images in my site were 800x600 for detail to the customer.  When will you implement a fix?

Gruz

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 159
  • Copyleft (є) all rights reversed
Re: Product image too big on product details page
« Reply #19 on: February 10, 2012, 07:46:56 am »
I understand that you may want the community to "awake" to loading huge images however the images in my site were 800x600 for detail to the customer.  When will you implement a fix?

Whom do you ask? Milbo?
Your installable language for VM2: http://gruz.org.ua/virtuemart-language-files.html

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3487
  • using Matomo instead of Google Analytics
Re: Product image too big on product details page
« Reply #20 on: February 10, 2012, 10:05:26 am »
...however the images in my site were 800x600 for detail to the customer

A simple solution for your problem would be if you would upload two product images. The first one i.e. 300 or 400 pixels in width (Primary product image) and your 800 x 600 pixel image for the lightbox only. When you attach images to your products under the 'Product images' tab, your first image (left to right) is the one that is initially being displayed on the product details view.

Then your product details page would display like the screenshot below. The first mini-thumbnail is the primary product image which is being displayed and the second mini-thumbnail is the large image. The lightbox opens when you click on one of the mini-thumbnails.



[attachment cleanup by admin]
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

chadgarber

  • Jr. Member
  • **
  • Posts: 61
    • Garber Consulting, Inc.
Re: Product image too big on product details page
« Reply #21 on: February 13, 2012, 22:45:13 pm »
So what is the consensus for the best solution?
Chad Garber
Web Developer/Computer Support
770.639.4847
Garber Consulting, Inc.
http://garberconsulting.net

chadgarber

  • Jr. Member
  • **
  • Posts: 61
    • Garber Consulting, Inc.
Re: Product image too big on product details page
« Reply #22 on: February 14, 2012, 18:23:12 pm »
So what's the consensus for the best solutions? Anyone? Ferris?

I had this problem with VM 2.0, so I've upgraded to 2.0.1b and that problem was solved, but now I've gained a new problem. Product images on product details page are too big. Thumbnails are fine, just the main picture is not resized. Joomla 1.7.4. Here's picture:




I've checked with Firebug and picture is in it's div main-image which is the right size, but the image is just ignoring it. I can set the widht and heght to main-image div, but than picture becomes weird, squeezed because it's not resized, but rather squeezed into container. I've already tried deleting product images and thumbnails and reupload product pictures, even with new filename with not success.
Chad Garber
Web Developer/Computer Support
770.639.4847
Garber Consulting, Inc.
http://garberconsulting.net

Gruz

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 159
  • Copyleft (є) all rights reversed
Re: Product image too big on product details page
« Reply #23 on: February 14, 2012, 18:33:32 pm »
Your installable language for VM2: http://gruz.org.ua/virtuemart-language-files.html

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27480
  • Always on vacation
    • Jenkin Hill Internet
Re: Product image too big on product details page
« Reply #24 on: February 15, 2012, 11:24:07 am »
100gods, this works for me with  2.0.1e and later versions on VM, not for VM2.0.0
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM 3.4.3.10057 on Joomla 3.9.10 PHP 7.0.33
Testing VM 3.5.0.10097 on Joomla 3.9.10

100gods

  • Beginner
  • *
  • Posts: 39
Re: Product image too big on product details page
« Reply #25 on: February 16, 2012, 14:48:50 pm »
100gods, this works for me with  2.0.1e and later versions on VM, not for VM2.0.0

Hello Jenkin,

I have downloaded VM 2.0.1.k http://dev.virtuemart.net/projects/virtuemart/files !!
Can I run this on my production site as well?

Thanks.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27480
  • Always on vacation
    • Jenkin Hill Internet
Re: Product image too big on product details page
« Reply #26 on: February 20, 2012, 23:33:49 pm »
The 2.0.1 versions are development versions - for testing by the forum community. The next version to be used on live sites will be 2.0.2

But if there are no bugs affecting your setup, and you are happy with the security........
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM 3.4.3.10057 on Joomla 3.9.10 PHP 7.0.33
Testing VM 3.5.0.10097 on Joomla 3.9.10

r_ekkie

  • Jr. Member
  • **
  • Posts: 61
Re: Product image too big on product details page
« Reply #27 on: February 25, 2012, 21:45:55 pm »
Can sombody tell me how to set the size of the additional images? its to small now

Gruz

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 159
  • Copyleft (є) all rights reversed
Re: Product image too big on product details page
« Reply #28 on: February 25, 2012, 22:07:21 pm »
Add to your template css:

Code: [Select]
.additional-images img {
width:auto;
}

Now the images are forced to be 50px width with a css rule.
Your installable language for VM2: http://gruz.org.ua/virtuemart-language-files.html

kaleske

  • Beginner
  • *
  • Posts: 9
Re: Product image too big on product details page
« Reply #29 on: February 25, 2012, 23:33:11 pm »
Hello Gruz, after doing what you`ve written in your tutorial main image resized to normal size, but now when i press on thumbnail image it do nothing. I`m using jommla 2.5, VM2.0.2. Sorry for my english.