Project

General

Profile

Support #4448

The wysiwyg editor is vertically squeezing my image to an of 1200px

Added by Valérie Gérard over 7 years ago. Updated about 7 years ago.

Status:
Bug resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
Start date:
02/03/2012
Due date:
% Done:

80%

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

Description

Hi guys,

I'm using the forum to visualize my graphic student webdesign works.
Problem is when they will insert one image the text editor will force it to have a maximum height or width of 1200px.
Can you tell me where can I change that so it respect the image original size?
That's really a problem for my course as we need to visualize the exact pixel size to evaluate their design work.

Thank you.

Val_


Files

Image_15.png (69.3 KB) Image_15.png Valérie Gérard, 02/03/2012 00:30
Image_16.png (52.8 KB) Image_16.png Valérie Gérard, 02/03/2012 00:30

Associated revisions

Revision f7a4b432 (diff)
Added by Julio Montoya about 7 years ago

Allowing images bigger that 1200px when rendering HTML see #4448

History

#1

Updated by Julio Montoya about 7 years ago

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

Updated by Julio Montoya about 7 years ago

According to HTMLPurifier (the HTML filter we use in Chamilo) there's a security risk:

This directive controls the maximum number of pixels in the width and height attributes in img tags. This is in place to prevent imagecrash attacks, disable with null at your own risk.

The current value is 1200 I'm going to change it to 2560 as a max value ...

#3

Updated by Julio Montoya about 7 years ago

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

Updated by Julio Montoya about 7 years ago

  • Target version set to 1.9 Stable
#5

Updated by Yannick Warnier about 7 years ago

  • Status changed from Needs more info to Bug resolved
  • Assignee set to Julio Montoya

Good for me.

Also available in: Atom PDF