Project

General

Profile

Bug #2185

Resizing of hotspot images

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

Status:
Bug resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
19/10/2010
Due date:
% Done:

50%

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

Description

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.


Files

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 about 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

History

#1

Updated by Julio Montoya about 9 years ago

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

http://www.wallpaperez.info/car/Koenigsegg-Widescreen-932.html

Maybe you can upload a file

#2

Updated by Simon Legner about 9 years ago

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

#3

Updated by Olivier CORRE about 9 years ago

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

#4

Updated by Julio Montoya over 8 years ago

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

I think we can close this task?

#5

Updated by Julio Montoya over 8 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