-
-
Notifications
You must be signed in to change notification settings - Fork 452
New feature: Upload logo from backend #2580
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
Conversation
|
thanks for you contrib, I think we already have the same PR #1068 |
|
Nowadays we've multiple logos (2x, 3x, mobile, desktop) so my question is, does uploading the logo makes sense today? |
|
does this allow uploading of SVG logos? |
I didn't test for that file extensions but if not I can change to allow that. |
|
With #1068 closed I can test this PR. @warleyelias - Please update it for SVG uploads too. Is there any label that needs translations? |
|
I would replace the 2 bundled GIF files with just one SVG (which is probably already somewhere in the repo) |
|
actually I wouldn't bundle another logo image, I'd remove the 2 GIFs and use the SVGs that are already in the repo |
|
@addison74 @fballiano yes it helps, if the logo is managed by people without file access. Maybe even people who have only access to specific websites or storeviews in case of multi national organisations. |
|
Today in 2023 only having 1 single logo is never sufficient, unless it's an SVG. The access to a single website/storeview was only available in the enterprise edition. |
I know of CE shops having this, too |
|
allowing SVG upload could be more complicated than expected, because of Mage_Core_Model_File_Validator_Image::validate() |
|
Can we continue w/o SVG support? |
I did not test it (yet), but if it just allows to upload logos from backend ... its a good addition imho. |
I would say yes, it can be added separately |
|
Thanks for working on it :) |
|
I have no idea how to fix the PHPMD error. Other than that, I have tested the PR quite a bit, multiple uploads and deletes in various stores. No issue found. |
|
Before this PR, it's simple to use the same image file in the skin dir as the |
|
@all-contributors add warleyelias code |
|
I've put up a pull request to add @warleyelias! 🎉 |
|
|
@kiatng 👍 |




Description (*)
This PR allows to change both header and small logos by uploading from the Backend. It is much easier than put a image on /skin folder and configure the path in Backend.
I created a validation that allows to continue using the skin image until next logo change, put a default OpenMage logo on default folder for new installation.
Manual testing scenarios (*)
System > Configurations.Design > Headersection there are two new upload buttons for [Logo Image Src] and [Logo Small Image Src].Contribution checklist (*)