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

Callback on adjustFocus() ended #53

Open RusinovAnton opened 7 years ago

RusinovAnton commented 7 years ago

Hi, its sad to see when such good project is being forgotten by its maintainer. However, I'm a believer :)

I want to cloak my image before it adjustment on window load, and for this I need a callback to remove '.loading' class, for example. At this point I'm using next solution

.focuspoint {
  img {
    opacity: 0;
    transition: opacity .3s;
  }

  img[style] {
    opacity: 1;
  }
}

But it seems to be not the best. I'll add PR on this later. Hope you'll notice it. Bye :)

jonom commented 7 years ago

Hi, its sad to see when such good project is being forgotten by its maintainer. However, I'm a believer :)

Hi @RusinovAnton... I understand your disappointment and I want to explain. I'm a dad with just a tiny bit of spare time. I put a lot of work in to this in the beginning and have encouraged in the docs for people to donate or send an email of an encouragement to keep me motivated. But I get very close to zero contact from the community about this module so my interest in it has waned. Where are people using it? I don't know. Are they noticing when I work on it? No idea :)

You're welcome to take the v-2 branch for a spin as it has some new features and better performance. I'm considering charging a license fee for that version, so I can justify working on this module regularly. If you want to sponsor development of a new feature I'm very willing to chat about that also, and PRs are always welcome.

I may eventually get around to releasing v2 but probably not until I need it for a project, or someone is willing to sponsor development to get it out the door, as I just can't afford to donate more time to it right now.