Closed (fixed)
Project:
Image filter
Version:
master
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
12 Feb 2008 at 08:08 UTC
Updated:
20 Aug 2009 at 12:00 UTC
Jump to comment: Most recent file
Hi all,
what's the plans for a drupal 6 upgrade?
Thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | image_filter_d6.patch | 3.26 KB | tomdeb |
| #1 | image_filter_d6.patch | 3.21 KB | anj |
Comments
Comment #1
anj commentedHi,
I've updated my image_filter module to work with Drupal 6, and I've attached a patch created against the current CVS HEAD. It is not perfect, as I have not managed to map all parameters into the new URL syntax, and it uses node_load instead of a custom SQL query to find the image data, which is probably not the most efficient way of doing things. The advantage is that using node_load insulates this module from the changes to the file storage system that have come along with Drupal 6 and broken the old SQL.
The only other trick is remembering to add a image_filter_theme function that declares a image_inline_img theme hook.
I hope this helps.
Cheers,
Andy J.
Comment #2
tomdeb commentedtested the patch successfully.
node_load means that img->title isn't set properly.
updated patch attached.
Comment #3
bwynants commentedI did a conversion myself, very similar, only the query was different. I use joins...
which is the best fastest?
Bert
Comment #4
dmjossel commentedDoesn't apply against CVS head release from October 21, 2007.
Repeat does get one hunk to succeed:
Comment #5
raintonr commentedThis patch works for me. I noted this module was abandoned so have adopted it and committed this into HEAD. The nightly build should pick it up so please test and confirm.
Comment #6
raintonr commentedNo complaints from the RC so marking fixed.