- edited description
Support uploading custom logos with non-standard width
I'd like to upload a wider logo like the attached (but with Stash branding) but it seems to shrink the height of the image to fit the width of the original image. Is there something I can do to make the logo image flexible width? Or am I doing something wrong. I reverted back to the default stash logo, but I can put my proposed wider image back and provide a url if you'd like to see what I'm talking about.
Comments (9)
-
reporter -
reporter - attached RDStash.png
Attaching the actual image (with transparency)
-
reporter - attached Screen Shot of Stash Logo Squished.png
- attached Screen Shot of Jira Logo with flexible width.png
Attached some screenshots comparing Jira Logo and Stash Logo.
-
reporter - attached RDJira.png
-
Account Deactivated Hi Kevin,
I'm one of the developers that worked on the plugin, and had a look at this issue recently. The way this plugin works is that it overrides and replaces the default Stash logo in the header, which is in turn a background-image. It's a bit tricky to support a dynamic width logo as the custom logo upload-and-crop dialog would need to be changed to support cropping to an arbitrary size/shape, and the logo itself on the header would need to figure out the final width of the uploaded+cropped logo and set the size correctly.
Unfortunately, I've been unable to insert the uploaded logo as an <img> tag into the header and let the <span> tag resize to fit automatically because of limitations on what a plugin can inject into the Stash core templates. It is currently just converted into a base64-encoded image and overriding the default logo using CSS.
I understand this limitation is frustrating to you, but I will continue to look into how we can fix this and allow for any sized header logos.
-
Account Deactivated - changed title to Support uploading custom logos with non-standard width
-
assigned issue to
- changed version to 0.3.0
-
reporter Thanks Jonathan, Hopefully Stash will soon get similar "Look and Feel" options like Jira has.
-
Account Deactivated - changed status to open
-
Account Deactivated - removed responsible
- Log in to comment