JoomCoder-com / JoomCCK

Advanced Web Application Builder & Content Construction Kit (CCK) for Joomla CMS
https://www.joomcoder.com
GNU General Public License v2.0
11 stars 2 forks source link

Image size in different scenarios #216

Open Giorgi625 opened 5 months ago

Giorgi625 commented 5 months ago

So as we know image field has option to set size of an image in list view and full view. In most case in list view I have images of approximately 320*240 because on desktop I show grid of articles in 3 collumns and same image in full view goes full width of component area so it is much bigger then list view template. sometimes on homepage, where I mostly display JoomCCK records module with different scenarios I need to show images of different sizes, like in some case I use carousel and small image like in list view works fine, but sometimes I may need to have to use full size Slideshow where image maybe much bigger then it, so if I use list view images in that slideshow, I will get low quality images.

Before I've been setting big sizes in both list and full view in image field and resizing images via css in template files, but it means that in most case I am loading much bigger images that I need, so in some case it may impact page loading times and also google pagespeed insights always deducts points for this.

Is there possibility to add option to records module where we will be able to set custom size for images? and when publishing this module, system will generate thumbnail of selected size from original image?