Force fancybox in gallery to use 'image' type

XMLWordPrintable

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.

      We created a library to generate thumbnails for files like Adobe's PSD and we want to show them in Issue View Gallery, but FancyBox javascript library treats links to psd files like data and doesn't wrap them in img tag (thus showing text - binary data of image). But there is a way to force FancyBox to process all links like images, to do that we added 'type': 'image' parameter to FancyBox initialization script in viewissue.js (right after 'overlayShow': useOverlay, in row 456). Is it possible to add this parameter to your upstream, since you use it to show image's thumbnails anyway?

            Assignee:
            Unassigned
            Reporter:
            Artem Redkin [Yandex]
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: