jonom / jquery-focuspoint

jQuery plugin for 'responsive cropping'. Dynamically crop images to fill available space without cutting out the image's subject. Great for full-screen images.
Other
3.15k stars 211 forks source link

Alternative to JQuery #59

Open Goramilla opened 7 years ago

Goramilla commented 7 years ago

This is an annoying request but I have to try. My company has an older version of JQuery (1.4.4) in the system that cannot be upgraded so your plugin doesn't work out of the box.

I've looked at a few alternatives like zepto.js but can't find one that works.

So I wondered if you had any suggestions other than the obvious (upgrade JQuery) which isn't possible. Maybe some plain JS that could be included or ripped from JQuery?

Great plugin! We will be using it in future projects but would love to use it on current ones.

jonom commented 7 years ago

I'm keen to make the next version not require jQuery. Feel free to submit a PR, or if you would like to sponsor development you're welcome to send me an email to discuss.

Goramilla commented 7 years ago

That would be great but we're in the midst of creating a new platform, although it's probably a year or more away. That will not be a problem with this version so I'm anxious to use it.

But I'll talk to my supervisor about this. Maybe we can work something out, if I'm persuasive enough...

third774 commented 6 years ago

@Goramilla I've created and published a dependency free package based on this plugin. Give it a try and let me know what you think!

https://github.com/third774/image-focus

lcherpit commented 5 years ago

There is one here to : https://github.com/MarcusTHellams/mth-focuspoint