As a user I want to add images to blogs and other posts by uploading images directly from the WYSIWYG interface without first having to upload them onto the node, figure out the URL of the uploaded image and then copy the URL of the uploaded image into the CKEditor image thing.

Comments

lightsurge’s picture

Which version of Commons are you using?

I know Commons 2.x comes with the Insert module, so that imagefield images can be inserted into body.

Personally I wouldn't want to use IMCE, since images uploaded using it aren't known to Drupal (so can't be programatically resized, promoted etc).

Having said that, it's a very strange user interface for users to get their head around - especially when we're using WYSIWYG which makes it appear that the body of the node can be entirely manipulated via the WYSIWYG toolbar (my feeling is that the 'insert image' button on WYSIWYG needs getting rid of because it's confusing).

This project looks promising http://drupal.org/project/dragndrop_uploads and might be the best of both worlds.

lightsurge’s picture

Actually perhaps this is better as it could pretty much 'slot in' to improve the Commons images-in-node-body feature.

http://drupal.org/project/wysiwyg_imagefield

lightsurge’s picture

I tested wysiwyg_imagefield and its successor wysiwyg_fields and while the result is a much improved user experience for inserting images, both seem somewhat tenuous in terms of their browser/theme/jquery compatibility - I struggled to find a combination of browser/module that would work...

lightsurge’s picture

Drag'n'drop uploads is actually the coolest little module I've seen for a while... but no native Internet Explorer support.

david.moore.ipg’s picture

This is a nice little tutorial that seems in line with the direction Acquia has taken with commons and takes it a few steps further.

WYS(is not always)WYG(but it can be)
https://docs.google.com/document/d/1BJfL0tx6eLJyQ2bvjpeTCREjaPsLKRzs78mjxTnW_9Y/edit?pli=1#heading=h.ntb1xdjntmb8

I think it is a 7.0 implementation, but this profile could work as a model for a similar 6.0 feature set for commons
https://github.com/ideograph/ideograph_wysiwyg-build

devin carlson’s picture

Version: » 7.x-3.x-dev
Status: Active » Closed (duplicate)

Discussion on improving the media handling capabilities in Commons is happening in #1867524: [meta] Better media handling capabilities.