Image insertion #5
Comments
Great! The older Create implementation had drag-and-drop image uploading support, but that was tightly coupled with Midgard and so taken out: The way I see image (and file attachment) handling in Create, there should be three approaches supported:
We should allow users to upload images from their own system, but preferably also to browse and use images already in the CMS (or some other back-end service, like Flickr). |
After a brief head banging with bergie we thought the new image uploading support could be really smart about the context, or the place where the image was dropped. So what if 'Create' would send the dimensions of the container along with the image itself to the server. In this case the server backend would be able to produce a variant of the image that fits nicely in the container and return the URL of this image. |
@dbu I just saw a demo of your image handling. Very good concept! I think that fits well in the scope of what we're trying to do with Create and Hallo. Something similar would fit well with other "insert" tasks as well, like adding links, people, whatever. On top of that we will need direct drag-and-drop (from user's desktop file manager), and placeholders, as @feri said above |
this is now part of hallo: bergie/hallo#36 |
inserting images with drag and drop was developped in the cmf sandbox[1], mostly inside the Liip fork of hallo. at Liip we want to work on bringing the changes back into upstream hallo and into create. expect some pull requests.
[1] https://github.com/symfony-cmf/cmf-sandbox/
The text was updated successfully, but these errors were encountered: