Add neccessary hooks to work with Insert module
heather - October 25, 2009 - 10:00
| Project: | Lightbox2 |
| Version: | 6.x-1.9 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
The new Insert (formerly known as filefield-insert) module assists the creation of URLs to uploaded images so they can be placed inline. It's a really great way to work with imagefield and other file-fields (in my opinion).
This originally started as a feature request on that issue queue to support the CCK URL formatters.
http://drupal.org/node/479310
Quicksketch has now added support in Insert for CCK URL formatters, but it is up to each individual module to work with the hooks available in Insert. This includes Lightbox2. #60.
Now, Lightbox2 must include the necessary hooks to work with insert.
Thanks, Stella, for an awesome module.

#1
Shubshcribe.
#2
Subscribing. Very exciting! I'd be happy to help test and review patches.
#3
subscrib, great module for everyone.
#4
Subscribing.
I hope this will work ASAP.
#5
Subscribing.
#6
I had a quick go at this and implemented the insert styles that I needed. It's not complete since I haven't implemented all the CCK formatters that lightbox2 provides. But it's a start.
#7
Thanks @origo, i'll test your patch and report back.
#8
I am sold on Insert, Lightbox2 and ImageCache.
Will it soon be possible to click on an inserted image and have it open in a lightbox with another ImageCache preset (that is, without having to hand-code everything)?
Love you guys and your modules. They're such a big help to those of us who are Drupal-code challenged. ^_^
#9
@origo, Thanks for the sharing your patch it's what i was looking for, However i have some difficulty applying your patch. I suspect that maybe i'm applying it against wrong version. Would you please tell me which version of lightbox it's against?
Thanks