VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: thefbi on April 24, 2023, 14:00:59 PM

Title: Fancy box size
Post by: thefbi on April 24, 2023, 14:00:59 PM
Hello,
Is there a way to adjust the size of the fancy box effect when we click on an image in the product details ?

Actually, if i click on an image, the size is really too big. I want to fix the max size. Is it possible ?

I use Joomla 4.3.0
VM 4.0.16 10836
PHP 8.0
Title: Re: Fancy box size
Post by: GJC Web Design on April 24, 2023, 17:40:07 PM
It's a good indication your images are far too big surely ...

reduce them to a more reasonable size - lots of benefits . smaller page load, Google won't complain etc etc
Title: Re: Fancy box size
Post by: jenkinhill on April 24, 2023, 17:45:52 PM
In the event that the user is unable to resize the product images before upload a maximum width or height can be set in VM Configuration/Templates   VM actually makes a copy of the image at the new size so page loading time is reduced as well.

(https://i.ibb.co/gJn8zRG/Ashampoo-Snap-Monday-24-April-2023-16h35m11s.png) (https://ibb.co/zZkgG41)
Title: Re: Fancy box size
Post by: thefbi on April 24, 2023, 20:47:53 PM
Thank you.
I changed the size setting as indicated by jenkinhill, but the images are already there. Is there any way to re-create the images with the resize?
Title: Re: Fancy box size
Post by: thefbi on April 25, 2023, 10:28:25 AM
It is OK now.

I resized my images and sent them again via ftp and the size of the fancy box is correct.

Thanks for your advice.
Title: Re: Fancy box size
Post by: GJC Web Design on April 25, 2023, 12:47:13 PM
QuoteIs there any way to re-create the images with the resize?

just delete the images/virtuemart/products/resized folder