JoomGalleryfriends / JG4-dev

Development repository for JoomGallery v4.x
GNU General Public License v3.0
10 stars 6 forks source link

Image processing: Thumbnail by width #188

Closed reilldesign closed 5 months ago

reilldesign commented 5 months ago

Change the default setting of the thumbnail image processing to by width and increase the number of pixels to achieve good quality in a three-column layout.

Elfangor93 commented 5 months ago

To change the default image processing values, you need to adjust additionally the reset values in the subform_imageconvert.xml: https://github.com/JoomGalleryfriends/JG4-dev/blob/05cca93c270c3b95cda3b9cde1b842042bd64c68/administrator/com_joomgallery/forms/subform_imageconvert.xml#L53

Elfangor93 commented 5 months ago

This PR is related to the discussion in issue https://github.com/JoomGalleryfriends/JG4-dev/issues/181

MrMusic commented 5 months ago

After the 'Reset', the type of image resizing is still set to cropping, not by width. I think line 40 of subform_imageconvert.xml needs to be adjusted from reset="orig:0;det:3;thumb:4" to reset="orig:0;det:3;thumb:2".

MrMusic commented 5 months ago

I have tested this item ✅ successfully. Thank you very much.