Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000418sigmah website[All Projects] Generalpublic2011-11-16 11:252012-07-17 20:16
Reporterosarrat 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target Version2012w25Fixed in Version 
Summary0000418: Improve image insertion usability
DescriptionCurrently, the import of an image on a page is very complex: you can see the procedure requested to all users at http://www.sigmah.org/node/11 [^] .

This process should be made much simpler:
- with a field "click to add file"
- and/or by allowing copy-pasting (the best !)
- by enabling automatic image resize if bigger than 600 (with module image_resize_filter)
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000861)
spM (developer)
2012-03-24 20:29
edited on: 2012-03-24 20:31

Yeah, the image upload with CKE editor is so messy. Another solution, that I like a lot, and comes a lot handy is the YUI editor

http://www.nicklewis.org/drupal-hackers-cookbook/module-guide/wysiwyg-editors/yui-editor, [^]

or if there is this feeling, all right, YUI editor is not all that popular,

the then use WYSIWYG API (http://drupal.org/project/wysiwyg [^]) along with wysiwyg_imageuplaod (https://github.com/EugenMayer/wysiwyg_imageupload [^])
and wysiwyg_filter(http://drupal.org/project/wysiwyg_filter [^]).

Via the WYSIWYG_imageupload, we directly get an image upload button in the editor toolbar to browse and view images.

The good news being, if CKE Editor is what the community loves, through WYSIWYG API we can select any CKE Editor or infact any wysiwyg editor we please, not just CKE Editor.

(0000960)
spM (developer)
2012-06-15 01:36

Hi, I have added a button in the CKE Editor to directly insert images/files directly from the CKE editor interface in this commit :

https://github.com/spMohanty/sigmah-website/commit/1cdcd8ad0e148904340a88d1841bd10ced224c0d [^]
(0000993)
spM (developer)
2012-06-30 12:52

And for automatic image resize, if you are sure about a maximum image size, then you can set the value at :
http://www.sigmah.org/admin/settings/imce/profile/edit/2 [^]

you will find an option named : "Maximum image resolution" ,
the default value would be 0, meaning no maximum image resolution, you can replace it by say
"600x600",
if you want to set the max image resolution to be 600x600
(0001014)
osarrat (administrator)
2012-07-17 16:21

Almost perfect !

2 things remain:
- remove the old "Image" button in the toolbar
- remove the thumbnails options offered when uploading a document
(0001023)
spM (developer)
2012-07-17 20:16

Made the requested changes in this commit : https://github.com/spMohanty/sigmah-website/commit/b000c6ae8f12b770807e6014bdda49c4b382fcc1 [^]

- Issue History
Date Modified Username Field Change
2011-11-16 11:25 osarrat New Issue
2012-03-24 20:29 spM Note Added: 0000861
2012-03-24 20:29 spM Note Edited: 0000861 View Revisions
2012-03-24 20:31 spM Note Edited: 0000861 View Revisions
2012-06-15 01:36 spM Note Added: 0000960
2012-06-26 15:26 osarrat Target Version => 2012w25
2012-06-30 12:52 spM Note Added: 0000993
2012-07-17 16:21 osarrat Note Added: 0001014
2012-07-17 20:16 spM Note Added: 0001023


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker