No Code Attached Yet
avatar mojeweb
mojeweb
11 Feb 2025

Steps to reproduce the issue

  1. In the plugin Media Action - Resize set the maximum image width to 1200px.
  2. Upload an 800px, ca 30kb image in the media manager.

Expected result

Image should be 800px and not more than 30kb.

Actual result

Image is 1200px and at least double the size.

System information (as much as possible)

Joomla 4 and 5 latest, PHP 8.2

avatar mojeweb mojeweb - open - 11 Feb 2025
avatar joomla-cms-bot joomla-cms-bot - change - 11 Feb 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 11 Feb 2025
avatar fgsw
fgsw - comment - 12 Feb 2025

@mojeweb The settings are for server side actions when images are created:

Image

avatar QuyTon QuyTon - close - 13 Feb 2025
avatar QuyTon
QuyTon - comment - 13 Feb 2025

@mojeweb This is the expected behavior. Values in the Resize plugin will be applied to all uploaded images.

avatar QuyTon QuyTon - change - 13 Feb 2025
Status New Closed
Closed_Date 0000-00-00 00:00:00 2025-02-13 16:48:08
Closed_By QuyTon
avatar mojeweb
mojeweb - comment - 13 Feb 2025

@mojeweb This is the expected behavior. Values in the Resize plugin will be applied to all uploaded images.

So Image Max Width means in fact not max width but exact width?
I realy dont get that logic. Image should be max that entered width. And smaller on size in kb.

avatar QuyTon
QuyTon - comment - 13 Feb 2025

It will only be resized if the image's width/height are greater than the maximum values.
What are your resize maximum height/width values?
What are the width/height values of your image?

Add a Comment

Login with GitHub to post a comment