Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.7
-
Fix Version/s: 2.7.1
-
Component/s: HTML Editor (Atto)
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_27_STABLE
-
Fixed Branches:MOODLE_27_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-45479-master -
Pull Master Diff URL:
Description
The original report for this issue related to incorrect proportions on some scaled image. This turned out to be in relation to setting both height and width when only the width should be specified.
However, in fixing the issue, it struck me that the size of the preview means that the preview is almost worthless:
- most users will have used the filepicker to select an image, so they will have just seen a thumbnail preview of the image;
- most images being inserted will be greater than 150px in height; and
- most people are likely to be keeping the image in proportion.
Given this, the preview area will very rarely change in it's current state and is effectively useless.
As a result, I have toyed with different option of displaying a more useful preview. The result is a preview:
- displayed at the actual size requested;
- which can be scrolled within the window; and
- respects the height and width as expected.
Attachments
Issue Links
- Discovered while testing
-
MDL-45649 Specifying extremely large dimensions in an image in Atto can break the filepicker
-
- Open
-