Project

General

Profile

Bug #3372

Problem loading picture for hotspots

Added by Marko Kastelic over 8 years ago. Updated over 8 years ago.

Status:
Feature implemented
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
05/05/2011
Due date:
% Done:

70%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

currently using Chrome 10.0. under windows. Silly, i got 'unhadler win32 exception in httpd.exe [6852]' when try to upload picture with extension that is uppercased like PNG,GIF but never with picture that has extension 'png','gif'. And there is no problem with loading jpegs (JPG,jpg,..)

Associated revisions

Revision a57c8c01 (diff)
Added by Julio Montoya over 8 years ago

Fixing bug when uploading files with extensions like image.PNG see #3372

History

#1

Updated by Marko Kastelic over 8 years ago

actually Apache process crashes;
coursename/document/images contains converted to .jpg and renamed image, info about the renamed image is not added to the quiz_question table

observations:
original png image with extension .png causes not problem: image is converted, renamed and not resized if smaler than 800x600, resized to max resolution if larger
if i change extension of the original just to .PNG, image is converted, renamed, resized to 800x600, but cannot be loaded into flash as there is a format problem (bad conversion?)

(tested with 2 diferent version of xampp in wamp bundles on windows xp platform, Firefox, Chrome)

is somebody willing to do a test an some other platform ?

#2

Updated by Julio Montoya over 8 years ago

  • Status changed from New to Assigned
  • Assignee set to Julio Montoya

Ok I can reproduce the error i'm going to send a fix soon

#3

Updated by Julio Montoya over 8 years ago

  • Status changed from Assigned to Needs more info
  • Assignee deleted (Julio Montoya)
  • % Done changed from 0 to 70
#4

Updated by Marko Kastelic over 8 years ago

yes it's ok now.

Very similar bug (or same) exists when showing tumbnails of the images inside file manager. Just take the question, use enrich option and put any picture that is previously loaded to the server ...

can i live this note here or i open a new issue ?

#5

Updated by Marko Kastelic over 8 years ago

you can close this task.

Figured out why got the problems with file manager. I was browsing/using pictures from the quiz. This pictures were 'produced' by false conversion when inserted for hotspots. ("converted" picture got extension jpg, but the picture kept original format (png), after renaming to png, problems with filemanger vanished. Nice little bug related to (ajax)file manager.

#6

Updated by Julio Montoya over 8 years ago

  • Status changed from Needs more info to Feature implemented
  • Target version set to 1.8.8 stable

Also available in: Atom PDF