Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-979

Branding > Logo : do not generate width or height attribute if the value is empty

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.3
    • Fix Version/s: 2.5.4, 2.6
    • Component/s: None

      Description

      In the Branding section / Common tab, you can chose your logo image, and add size values (width and height).
      If you don't fill theese fields, Studio generates empty attributes:
      <img src="/nuxeo/img/your_logo.png" alt="My Logo" height="" width="" title="My Logo">

      IE9 has the clever idea to replace these two empty values by 1. Which means that your logo is 1px width, and 1px height. You can't see it, and you can think your link is broken.

      Is it possible to not generate the attribute when the value is not filled ?

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: