Closed (fixed)
Project:
Thickbox
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
1 Jan 2008 at 23:32 UTC
Updated:
18 Jun 2008 at 04:11 UTC
Jump to comment: Most recent file
Updated to comply with following changes:
(see attached)
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | thickbox_imagecache2.patch | 1.95 KB | hanoii |
| #7 | thickbox_imagecache2.patch | 1.41 KB | dopry |
| #2 | thickbox.module.patch | 854 bytes | ms2011 |
| #1 | thickbox.module.patch | 636 bytes | ms2011 |
| thickbox.module.patch | 763 bytes | ms2011 |
Comments
Comment #1
ms2011 commentedwhoops, there's one more...
Comment #2
ms2011 commentedfound another part that will need to be updated.
(see attached)
also, this is probably more of a feature request.
Comment #3
dsnydernc commentedDoes this last patch include the previous two?
Comment #4
ms2011 commentedNo. Apply each one in order.
Comment #5
miro_dietikerI'd love to see some information about the need of this patch when using ThickBox with ImageCache 5.x-2.x.
Or any further compatibility note "Use ImageCache xxx for this component". This would allow new users a much smoother way to use this component - without pitfalls.
Thanks!
Comment #6
brunodboComment #7
dopry commentedHere is a composite patch for the module. Also note that imagecache generated image links now have several classes applied to the tag so you can also target them via JS for thickboxing.
ex)
$(document).ready(function(){
tb_init('a.imagecache-imagelink');//pass where to apply thickbox
imgLoader = new Image();// preload image
});
Comment #8
frjo commentedThanks a lot for this patch, I will soon commit it to 5-dev and the upcoming 6-dev.
Comment #9
vito_swat commentedPatch in #7 doesn't work for me.
{edit}
My bad it's working.
Comment #10
sunConfirming, this patch fixes fatal errors with ImageCache 5.x-2.x.
Comment #11
splash112 commentedAs I'm a total disaster in patching....
Could somebody maybe upload the new DEV version, or just the updated module?
Thanks!
Comment #12
tanjerine commentedhi, just wanted to let you know that the patch in comment#7 brought back my site from the white screen (of death). have yet to play with the site, but at least there's something there to play with now, instead of just a blank white sceen.
thanks!
Comment #13
hanoiiApplied patch #7 and worked OK.
There's an addition, though, that worth including. Attaching the patch (patch of #7 is also included so should only applied this patch if interested).
Basically as imagecache2 now doesn't have clean urls as a requirement, I change the theme function so it uses the imagecache_create_url() function when creating the image to be displayed.
What I also think it should be added to this fixes before commiting is some kind of backward compatibility to imagecache 1.x so this module works for both versions.
Comment #14
dopry commentedI personally like an new release of lightbox that drops imagecache 1.x support, since I will probably not be providing support for imagecache 1.x in the near future.... forget backwards compatibility... drive people to upgrade... I don't like maintaining my ugly code, thats why I wrote a new version.
Comment #15
sun@dopry: Agreed. However, after applying the patch, I needed to save all field display settings again. Is there a convenience function in ImageCache that could be used by other contrib modules in hook_update_N() to upgrade existing CCK field formatters to the new version?
Comment #16
dopry commentedhmm.. I think clear_cache_all() should do it.. I don't know that I had that problem.... but then again I'm bad about telling people to dump their cache. ;)
Comment #17
scottrigbypatch in #7 cleared up my white screen issue too. feels almost redundant to say "it works!", but hey – community tested, right? Thanks!
Comment #18
frjo commentedCommitted to 5-dev and to 6-dev, thanks!
Comment #19
senpai commentedWhich patch was committed? #7 or #13?
Comment #20
frjo commentedI used the patch from #13.
Is the 5-dev version working OK? If it is I will make a official release.
Comment #21
sunFYI: #259471: Update for ImageCache 2 API contains a patch that keeps compatibility with ImageCache v1 API.
Comment #22
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.