News:

Support the VirtueMart project and become a member

Main Menu

Fancy box size

Started by thefbi, April 24, 2023, 14:00:59 PM

Previous topic - Next topic

thefbi

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

GJC Web Design

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
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

#2
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.

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

thefbi

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?

thefbi

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.

GJC Web Design

QuoteIs there any way to re-create the images with the resize?

just delete the images/virtuemart/products/resized folder
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation