J4 Issue ?
avatar Milglius
Milglius
20 Jul 2019

Is your feature request related to a problem? Please describe.

users upload big images 3 - 10+ MB

Describe the solution you'd like

resize image on upload and create srcset

Additional context

avatar Milglius Milglius - open - 20 Jul 2019
avatar joomla-cms-bot joomla-cms-bot - change - 20 Jul 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 Jul 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Jul 2019
Title
Feature request : resize image on upload and create srcset
[4.0] resize image on upload and create srcset
avatar franz-wohlkoenig franz-wohlkoenig - edited - 20 Jul 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Jul 2019
Labels Added: J4 Issue
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 20 Jul 2019
avatar ReLater
ReLater - comment - 20 Jul 2019

What do you mean with "srcset"? Save image with several sizes?

And then?

Who or what will where create the needed HTML?

 <picture>
  <source media="(min-width: 650px)" srcset="img_pink_flowers.jpg">
  <source media="(min-width: 465px)" srcset="img_white_flower.jpg">
  <img src="img_orange_flowers.jpg" alt="Flowers" style="width:auto;">
</picture> 

The user? Or automatically?

And that is a very simple example that won't match for 50% of all sites because any template reacts different concerning responsive behavior and available space for the images.

What will happen with all of these images if you change the template and the sizes don't match there. Upload all images again after you've changed the configuration?

How complex would such a configuration become for users?

How complex would a code become that has to check if the images exist before the HTML is inserted in the page?

Or display pixalated images?

Please think before you post feature requests!

I prefer plugins that do these jobs before the then cached images are USED in frontend. Not destructively on upload.

BTW: You got already many answers concerning "resize image on upload" but ignored any aspect of it. "The slaves are on holidays at the moment."

avatar brianteeman
brianteeman - comment - 20 Jul 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Jul 2019
Status New Discussion
avatar ghost
ghost - comment - 23 Jul 2019

Thanks @C-Lodder, closing for the Reason stated in above Comment.

avatar franz-wohlkoenig franz-wohlkoenig - change - 23 Jul 2019
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2019-07-23 11:09:50
Closed_By franz-wohlkoenig
avatar franz-wohlkoenig franz-wohlkoenig - close - 23 Jul 2019
avatar brianteeman
brianteeman - comment - 23 Jul 2019

@franz-wohlkoenig "Slow down... you move too fast"

Neither of those extensions are for srcset (unless I missed it) and that really is something that should be possible in core

avatar franz-wohlkoenig franz-wohlkoenig - change - 23 Jul 2019
Status Closed New
Closed_Date 2019-07-23 11:09:50
Closed_By franz-wohlkoenig
avatar franz-wohlkoenig franz-wohlkoenig - reopen - 23 Jul 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 24 Jul 2019
Status New Discussion
avatar Milglius
Milglius - comment - 24 Jul 2019

Thanks Brian for reopening this, cous it realy should be possible in core

avatar chnnst
chnnst - comment - 2 Jan 2021

is this implemented in J4 ?

avatar brianteeman
brianteeman - comment - 2 Jan 2021

No - that's why its an open issue

avatar chnnst
chnnst - comment - 4 Jan 2021

what needs to be done to include this in J4.0?

avatar gostn
gostn - comment - 4 Jan 2021

@chnnst

what needs to be done to include this in J4.0?

  1. A Developer writing an Pull Request
  2. Two successfully Test
  3. accepting the PR by the Release Lead

Same Procedere on every Issue.

avatar Quy Quy - change - 16 Jul 2021
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2021-07-16 15:29:31
Closed_By Quy
avatar Quy Quy - close - 16 Jul 2021
avatar Quy
Quy - comment - 16 Jul 2021

Please test PR #34803

Add a Comment

Login with GitHub to post a comment