I find it rather urgent for Joomla 4 to have a srcset for the images...
<img src="" srcset="" alt="">
JCE editor has it already
thanks to the team
Labels |
Added:
?
|
Category | ⇒ | Feature Request |
Build | staging | ⇒ | 4.0-dev |
not really, I dont want my photos to be resized , just to have the ability to add the to the srcset
Le 16 mars 2020 à 12:14, Quy notifications@github.com a écrit :
Is this a duplicate of #25655 #25655?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub #28368 (comment), or unsubscribe https://github.com/notifications/unsubscribe-auth/ANUFERAE2C6UIK5P3RS5BJLRHYC2JANCNFSM4LL77SEQ.
@no-matter-0 You need that in the editor in backend e.g. for images inserted inside articles? Or also at other places, e.g. intro image of article?
To all who might know: Is that something to be done in TinyMCE, or does TinyMCE already support it and we only don't use it?
we need it everywhere, it should be the modern way to display any img
<img src="/images/photo-1x.jpg" srcset="/images/photo-1x.jpg 1x, /images/photo-2x.jpg 2x, /images/photo-3x.jpg 3x" alt="">
of course in tinymce it would be great too , actually only JCE support it (since one year I think)
"JOOMLA!" can't natively support this, since it doesn't have a bulk image insertion, without a major rewrite of com_media. This should be looked into via a function of the editor. https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images
Nowadays it is necessary img src alone is not enough
Tinymce is not a serious editor, I use Codemirror but it is not an editor at all
@richard67 @no-matter-0 What benefit is to have many 10+MB photos not able to be resized by Joomla core, but just to have the ability to add the to the srcset?
We need that in the editor in frontend e.g. for images inserted inside articles and we need it everywhereelse also.
@Milglius Please don't abuse other peoples' issues to discuss yours.
This issue here is about using SRC set.
You talk about possibility to resize pictures and save with different name on upload.
Both features can be used together of course, but they are different features.
@richard67 please dont abuse me.
My comment here is about using SRC set.
@Milglius No serious photographer or graphic designer in the world will automatically resize their photos with Joomla.
If you don't know this subject why answer?
We need srcset for our already resized images
And adding this code (this possibility) is not a big job.
I have my own library that creates
img (src srcset alt)
and/or
picture (source srcset media sizes) (img src alt)
Automatic image resizing is another subject that has nothing to do with this one.
@no-matter-0 My comment here is about what benefit using SRC set then in joomla core you have many 10+MB photos?
I doubt joomla core should be just for photographer or graphic designer who resize their photos manualy and do not use Joomla,
adding a srcset attributes is nothing to do , and as i said it is already in JCE (without resizing) since at least one year
resizing images is another subject , feel free to open it if you think it is important
thanks for your comments
@no-matter-0 how you adding a srcset in JCE (without resizing) ?
in JCE there is a possibility to add a row for each images you want to ad to the srcset, you choose your image just as you choose the one for src , and of course you can fill attributes like density (2x) or sizes (400w)
Why worry about resizing ?
It could be related and certainly useful for many , but not necessary
JCE is a great editor and implements srcset without resizing
thank you for reading me
@no-matter-0 can you show us JCE printscr with that possibility - to add a row for each images you want to ad to the srcset, you choose your image just as you choose the one for src , and of course you can fill attributes like density (2x) or sizes (400w)
easy simple and clever
JCE has now the option for images resizing but the firsts versions with srcset was without it
you can try it yourself and save and you wil get something like
<img src="/images/sampledata/dandelion.jpg" srcset="/images/sampledata/cockroach.jpg 400w/1x,images/sampledata/owl.jpg 800w/2x" alt="dandelion" width="1920" height="1151">
We need that in the editor in frontend e.g. for images inserted inside articles and we need it everywhereelse also.
has nothing to do with srcset.
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-12-18 10:32:37 |
Closed_By | ⇒ | rdeutz |
Is this a duplicate of #25655?