Open grobmeier opened 11 years ago
Demo, also showing simple upload plugin: http://temp.grobmeier.de/hallojs/examples/images-edit.html
Feedback welcome!
Well I for one prefer your image plugins, thanks for your work.
I had to make one change in the image-select
plugin, maybe for my version of jQuery? I just changed b.originalEvent.originalEvent.srcElement
to b.originalEvent.target
.
I was not so happy with the size of the current image plugin. So I worked the past days to create my own, which I have licensed MIT.
Please see: https://github.com/grobmeier/hallo/tree/master/src/plugins
image_select.coffee Plugin to select images on click. Base plugin for others.
image_float.coffee Plugin to select an image and let them float.
image_size.coffee Plugin to select an image and reduce or increase size
image_insert_url.coffee Plugin which lets the user add an image by url
image_browser.coffee Simple browser plugin which loads a selection of images from a backend.
These plugins replace the current image.coffee, image_insert_edit.coffee and everything inside the image folder. These plugs where - imho - to complex. At least I was not able to fix them.
An example how to use them can be found here: https://github.com/grobmeier/hallo/blob/master/examples/images-edit.html
If you like them, please consider to replace the existing plugins with the new ones. I am going to write a simple upload plugin in the same vein pretty soon.
Cheers