Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

New Image plugins #188

Open
grobmeier opened this issue Jul 26, 2013 · 2 comments
Open

New Image plugins #188

grobmeier opened this issue Jul 26, 2013 · 2 comments

Comments

@grobmeier
Copy link
Collaborator

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

@grobmeier
Copy link
Collaborator Author

Demo, also showing simple upload plugin: http://temp.grobmeier.de/hallojs/examples/images-edit.html

Feedback welcome!

@fozcode
Copy link

fozcode commented Feb 22, 2016

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants