Forum
Welcome, Guest

Jproduct scroller images proportions
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Jproduct scroller images proportions

Jproduct scroller images proportions 2 years, 3 months ago #790

  • maxi1973
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Hello everybody, i have a little question for you:
Is it possible to load in the scroller products images without assign width/height, but simply picking thumbnails directly from virtuemart?? (in this case sizes are the same as Virtuemart product thumbnail)

Thanks to anyone can help me
P.S. for Jerry: Glen sayd to contact you for help... i suppose is the same talking about here, without boring you with PM's.

Re: Jproduct scroller images proportions 2 years, 3 months ago #809

  • maxi1973
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
no one can help me?

Re: Jproduct scroller images proportions 2 years, 3 months ago #811

  • nicholas
  • OFFLINE
  • Moderator
  • Developing for Joomla since it was born!
  • Posts: 1197
Hello Maxi1973 -

We could give you the line number in the code to remove the sizing, but that isn't a good idea.

Let us start from the basics of how the scroller works.

You specify the number of images and the size of the images. Because we have the number of images, and the size, then we can calculate the width of the scroller. That calculation prevents you from cutting off part of an image and makes sure everything fits the way it should.

What I'm not clear on is why you can't simply set the image width and height in the scroller to make the native dimensions of the VM Thumbs. The only way you can't is if their size varies. But if their size varies, then you simply can't scroll them. Even if we let you set the width and height of the scroller manually, if the images are different sizes then sometimes it will look good, and sometimes it will cut off an image, or be too crowded, etc. To really look good, these images need to all be uniform.
Nicholas
CIO - CorFun, Inc.
Publisher - orthodoxbiz.com
Webmaster - Orthodox Christian Network

Re:Jproduct scroller images proportions 2 years, 3 months ago #813

  • maxi1973
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Well Glen, you've center the problem. I have a website that sell different products and some of them have images not always similar, for example: fridge, paintings (are only examples) so the thumbnails have different sizes.
If in the backend i set dimensions of the scroller's images to fixed images, obviously will be showed with bad proportions in the scroller.
One solution can be:
In the backend i choose how many products i want to show in the scroller, for example 3 and automatically the scroller will set the width to show 3 products assigning fixed proportions, example 100x100 pixels, but the image shown in this "space" was the real thumbnail of virtuemart.
If the height of the image was less then 100 px then i will see a white space up or down the image... or alternatively you can provide to center the thumbnail in the 100px height assigned for the image. Let me know if this feature is possible to do and if i can you further.
Best Wishes. Max

Re:Jproduct scroller images proportions 2 years, 3 months ago #814

  • nicholas
  • OFFLINE
  • Moderator
  • Developing for Joomla since it was born!
  • Posts: 1197
Hello Max -

Not sure I follow. You can have up to 10 product scrollers per page. Each product scroller can pull products from a specific category, or you can specify the exact products you want to show.

So there is no need to try and put products with radically different sizes in the same scroller. If you look at our Corshops.com frontpage, then we have multiple scrollers with different products in different orientations (vertical versus horizontal).

If you same you want Thumbnails, then give them a size, the scroller automatically centers the image. All thumbnails get sized the same, there is no 'whitespace' problem.

Look - even if our scroller let you pull the exact thumbnails from your VM and display them, then your display would be messed up as your thumbs are all different sizes.

What you need to do is just display your products in groups where the thumbs are roughly the same size. Just set the image size in the module and either specify a list of product IDs, or pick a category or categories to scroll products from. Keep them all the same size so the images aren't skewed.

Starting with the thumbnails versus the full image makes the display look better, depending on what you want to do with size. If you are taking a full size image that is 500 x 600 and scaling it to 100 x 100 then that is not as efficient or as clean as scaling a 120 x 120 thumbnail down to the same size.
Nicholas
CIO - CorFun, Inc.
Publisher - orthodoxbiz.com
Webmaster - Orthodox Christian Network
  • Page:
  • 1
Moderators: jasper, nicholas, henry, jerry
Time to create page: 0.53 seconds

Login