Rename an image to include @2x
in the filename. For example, forest@2x.png
.
Select it as an image somewhere in Joomla so it displays on the front end, for example as an intro or full text image of an article.
Ensure email cloaking is enabled.
Navigate to the front end.
Image displays normally, like so:
<img src="path-to-image/forest@2x.png" alt="alt text" />
The img output is totally broken.
<img src="path-to-image/<joomla-hidden-mail is-link=" 1"="" is-email="1" first="Z3Jvd3Ro" last="MngucG5n" text="Z3Jvd3RoQDJ4LnBuZw==" base="">
This email address is being protected from spambots. You need JavaScript enabled to view it." alt="" width="200px" height="200px" />
Joomla 4.2.7
Many image and vector editing programs will export images with the scale as part of the file name, for example imagename@2x.png
, so this is not an uncommon situation. The @
triggers the email cloaking plugin and breaks the image.
Labels |
Added:
No Code Attached Yet
|
Yup looks like the same thing, though this issue has a bit more context
Anyway it's a duplicate report and so one of the 2 issues should be closed. Normally we close the newer one as the older one already has some discussion.
Status | New | ⇒ | Duplicate Report |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-02-11 13:56:44 |
Closed_By | ⇒ | richard67 |
Closing as duplicate report. See issue #39786 . Let's continue discussion there. I've added a comment there about the common use of "@" by some image editors. Thanks for reporting.
I believe this bug was introduced with #39508