Details
-
Bug
-
Resolution: Not a bug
-
Low
-
None
-
4.3.5, 5.1.3
-
None
-
IE 8 and IE 9
Description
Steps to Reproduce
- Create a new page
- Attach an image with different mime type. For example: image/x-citrix-pjpeg.
- If you don't have an image with that mime type, just attach any image and change the mime type to image/x-citrix-pjpeg. You can do this by going to Tools > Attachments > Properties
- Display the image as a thumbnail
Expected Results
The image is displayed as expected and when clicking the image to zoom in, it will show the larger version. This works in both Firefox and Chrome.
Actual Results
The image is not displayed and the message "The requested content cannot be loaded. Please try again later." is shown when clicking on the image
Environment Information
IE 8 and IE 9
Workaround
- Backup your Confluence database
- Run a SQL query to change the MIME type of all images in the database. For example:
This query changes all images with MIME TYPE image/x-citrix-pjpeg to image/jpeg
UPDATE ATTACHMENTS SET CONTENTTYPE = 'image/jpeg' WHERE CONTENTTYPE = 'image/x-citrix-pjpeg';
This query changes all images with MIME TYPE image/x-citrix-gif to image/gif
UPDATE ATTACHMENTS SET CONTENTTYPE = 'image/gif' WHERE CONTENTTYPE = 'image/x-citrix-gif';
Attachments
Issue Links
- relates to
-
CONFSERVER-15152 Images with mimetypes that do not match extension cannot be used as thumnails
- Closed