News:

Support the VirtueMart project and become a member

Main Menu

How to achieve an image of a nonstandard size?

Started by borro, May 25, 2016, 15:39:49 PM

Previous topic - Next topic

borro

Hello!

I'm developing the module, which have to display the product images of nonstandard size. It have to display neirther full images nor thumbs, something between these sizes. Is there any builtin VM functions that can display/generate such images? Or may be it's better to display full images with a litle css styling and use lazy load. Or may be its better to generate a new image files using detailed images by some php or something else. What do you think?

I'm looking a decision which is most efficient for reducing traficc and thus the page loading time. Low CPU cost is also welcome.
Wish you happiness!

jenkinhill

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