Uploaded image for project: 'Document Management System (closed)'
  1. Document Management System (closed)
  2. MGNLDMS-130

MIME type not set correctly? Browser are not able to display images from the dmg when linking directly to them.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 1.2.4
    • None

    Description

      When trying to load & display an image file stored in the dms in the browser (i.e. directly via the URL like .../dms/path/to/file.png instead of via an <img /> tag) webbrowsers will download the image instead of displaying it. Also dragging a displayed image from a magnolia webpage (i.e. <img src="${pageContext.request.contextPath}/dms/path/to/file.png}" />) to an image app like Photoshop will result in an error message. This makes me believe that the Content-type headers for the documents in the DMS are not set correctly.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              gjoseph Magnolia International
              will Will Scheidegger
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: