Needs work
Project:
Image Editor
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Feb 2011 at 22:33 UTC
Updated:
4 Dec 2015 at 12:37 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
duozerskIt should be an online service with an API to access it and get results back... maybe Google Docs Drawing will get this job done, I will check on it.
Comment #2
duozerskI will be releasing Aviary Raven support in the next few days (along with other editors from Aviary).
AndyB
Comment #3
rodrigoaguilerawow this module is getting fast releases.
Are all the image editors available propietary?
would be nice the implementation of SVG-edit
http://code.google.com/p/svg-edit/
but i suppose only for creating new images and saving them as png
nice work!!
Comment #4
duozerskYep, it's getting hot :) The goal is to have the module for images like WYSIWYG is for text fields :)
As for the SVG and other vector formats - I'm not really sure about the approach to take on this as Drupal doesn't really recognize vector graphics as images (only jpg, gif and png).
For the integration with SVG Edit - I will check on it, hopefully sooner than later.
All the current editors are proprietary (Aviary wants to release Aviary Feather as open source, but it didn't happen yet) - they are just services on the web with the API used to communicate with them.
Thanks
AndyB
Comment #5
marcoka commentedanother cool editor for mindmaps
http://www.yworks.com/en/products_graphity_about.html
Comment #6
hatsch commentedi think svg-edit would be a great enhancement. it's the best open source online "image" editor i know. it also supports exporting to png which could be a helper on systems that don't support svg yet.
Comment #7
duozerskOK, will do SVG-edit next, just tried it out - looks like it should be easy to add.
Thanks
AndyB
Comment #8
gberm commentedAny update on when you think SVG edit will be able to save back to drupal? Would love to use this on my site.
Comment #9
duozerskWell, it actually already saves - you can see it on the demo at d7.andrewberezovsky.ru (Drupal 7 only for now).
The only issue is that there is no way to get the original image into there (to edit it) - so only new images can be created.
To get it working you need to put the attached file (remove the .txt) into sites/all/libraries/svgedit/extensions and then use the "Export as PNG" option.
AndyB
Comment #10
digitalfrontiersmediaI had put together a project proposal 4 years ago based on this integration. The client only recently came back ready to build this site. However, I never read the fine print that the module didn't load or save the SVG images back. So I gave this a couple of days of thought and got it working loading the original image into the editor and saving it back to Drupal as an SVG. Caveat is that I'm using simple File fields limited to .svg file types and displaying them as images (which works very well). So I don't know if this works with any WYSIWYG inserted images.
For loading the original image, I changed some of the beginning lines of the above ext-imageeditor.js.txt file from:
to:
Replacement file attached.
And I got SVG image save back to Drupal working by changing lines 42-46 of plugins/editor/svgedit/svgedit.inc from:
to:
Patch attached.
Comment #11
digitalfrontiersmediaIf this is even still a need, can someone review this and commit or clean-up these changes?
Comment #12
digitalfrontiersmediaUpdating this to the D7 branch since the problem exists there as well and is the basis of the fix I presented in comment #10 above.
Comment #13
digitalfrontiersmediaI actually ended up using a much simpler method than what I previously listed for loading an image into the editor--the method described in the SVG Edit documentation:
rtfm, right?
Comment #16
duozerskStephen,
Thank you for using the module and for the patch.
I have committed your changes. We might also need some README for how to setup SVGEdit editor...
Thanks
AndyB
Comment #17
duozerskComment #18
duozerskComment #19
digitalfrontiersmediaI'll look at my notes and compare against what is already available and will add suggested text if I have time. Thanks for maintaining such a brilliant integration. It's quite clever how it was engineered to handle so many different editors.