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.

http://drupal.org/node/479310

Thanks, Stella, for an awesome module.

#1

NikLP - October 25, 2009 - 14:47

Shubshcribe.

#2

peterjmag - October 28, 2009 - 06:09

Subscribing. Very exciting! I'd be happy to help test and review patches.

#3

ccrackerjack - October 28, 2009 - 06:49

subscrib, great module for everyone.

#4

Peter76 - October 28, 2009 - 06:52

Subscribing.

I hope this will work ASAP.

#5

jonathan.hebel - November 3, 2009 - 11:18

Subscribing.

#6

origo - November 4, 2009 - 07:54

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.

AttachmentSize
lightbox2.insertstyles.patch 6.7 KB

#7

sinasalek - November 30, 2009 - 12:01

Thanks @origo, i'll test your patch and report back.

#8

geijutsuka - December 2, 2009 - 17:42

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

sinasalek - December 5, 2009 - 15:04

@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

 
 

Drupal is a registered trademark of Dries Buytaert.