Loading...
 
Skip to main content

JPEG-Images uploaded with IE does not show in colorbox

Status
Closed
Subject
JPEG-Images uploaded with IE does not show in colorbox
Version
4.x
5.x
Category
  • Usability
Feature
File Gallery (elFinder or standard UI)
Resolution status
Fixed or Solved
Submitted by
bubi
Volunteered to solve
bubi
Lastmod by
bubi
Rating
(0)
Description

Uploading jpeg images with Internet Explorer (6,7,8) provokes a tiny small white image when trying to display it with colorbox.

It seems to be the Internet Explorer Bug which marks JPEG-Images at download time with mime-type "image/pjpeg" instead of "image/jpeg".

Solution

change tiki-upload_file.php
remove the 'p' if the $type is "image/pjpeg" (that comes from IE)

this is done

  • in tiki5 with svn-27506
  • in proposals/4.x with svn-27509
  • in trunc with svn-27510
Workaround

correct the filetype value in table tiki_files for that files.
do not work with internet explorer

Importance
6
Priority
30
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3212
Created
Friday 04 June, 2010 14:33:22 UTC
by bubi
LastModif
Sunday 06 June, 2010 11:13:30 UTC


Show PHP error messages