Bug #2185

Resizing of hotspot images

Added by Simon Legner over 9 years ago. Updated about 9 years ago.

Bug resolved
Target version:
Start date:
Due date:
% Done:


Estimated time:
1.00 h
SCRUM pts - complexity:


The resizing of hotspot images didn't work correctly, i.e. sometimes the aspect ratio was not preserved (e.g. for very wide images).

The attached patch contains a new implementation of this function and should work properly.


resizePicture.patch (4.54 KB) resizePicture.patch Simon Legner, 19/10/2010 18:04
widescreen.png (364 KB) widescreen.png Julio Montoya, 19/10/2010 18:49
Source.jpg (14 KB) Source.jpg image to be uploaded Simon Legner, 19/10/2010 21:18
Result.png (52.7 KB) Result.png result in chamilo Simon Legner, 19/10/2010 21:18
result_188.jpg (14.6 KB) result_188.jpg Julio Montoya, 09/05/2011 16:30

Associated revisions

Revision d8de9cc9 (diff)
Added by jmontoyaa over 2 years ago

Downgrade ckeditor to version 4.6.2, error with copy n paste from word

In ckeditor > 4.4 there's a message:

Your browser doesn't allow you to paste this way. Press Ctrl+V to paste
And you cannot use the plugin copy from word

See #2185



Updated by Julio Montoya over 9 years ago

it seems that works well for me I'm using this image in FF 3.6

Maybe you can upload a file


Updated by Simon Legner over 9 years ago

Please consider the attached example: The image doesn't get resized at all and is cropped.


Updated by Olivier CORRE over 9 years ago

applied patch and it seems to work where pictures would be cut off at bottom or have weird resolutions.


Updated by Julio Montoya about 9 years ago

I did a test with the latest code of chamilo and the result is this

I think we can close this task?


Updated by Julio Montoya about 9 years ago

  • Status changed from Needs more info to Bug resolved
  • Target version set to 1.8.8 stable

feel free to reopen ...

Also available in: Atom PDF