-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.2] Clean the logo URL in Cassiopeia #39574
Conversation
@Quy should be ok now, thanks |
The double slashes is fixed, however, the image won't display even though the markup is there. Adding a width attribute displays the image.
|
Ok, this could be solved either with CSS (patch) or the media manager needs to pass the correct size when an svg is selected (proper solution). I would make a PR for the second option. |
I have tested this item ✅ successfully on cca0b50 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39574. |
I have tested this item ✅ successfully on cca0b50 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39574. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39574. |
@Quy @viocassel thanks for testing this one. #39586 is the last missing part (the one I wrote about here: #39574 (comment)) and would be awesome if you could test that one as well. Mille grazie |
Thank you |
* Clean the logo URL * remove debugging * fixit
Pull Request for Issue #39571, #39538, #39543
Summary of Changes
Use the recommended way to render an image: through the HTMLHelper
Testing Instructions
Check that selecting a custom logo image works and that the source doesn't have the hash part of the URL. Also check that svg renders as expected
Actual result BEFORE applying this Pull Request
The URL contains the hash (it is dirty) and SVG images get 0 width and height thus are not visible
Expected result AFTER applying this Pull Request
The URL does not contain the hash (it is clean) and SVG images are visible
Link to documentations
This is a bug fix without changing any of the existing functionality
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed