Timeline for Drupal 6 version of ImageCache_actions?
John Bryan - June 6, 2008 - 23:39
| Project: | Imagecache Actions |
| Version: | 5.x-2.0 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
I know that it's pre-requisites are not officially available for Drupal 6 yet (ImageCache is in HEAD and ImageApi in DEV) so a bit of an unfair question, but is a Drupal 6 version under way as I am commited to 6 but just found that this module has just the features that I need 8¬( for one site.
In general looks like a good staple module to use and Drupal 6 is mature enough so as to be the default installation choice now.

#1
imagecache_actions has no Drupal5/6 API dependencies at all (that I am aware of) so it's probably equally compatible with both versions. It may only need an addition to the info file.
I've got a D6 site on the go I'm planning to use at least one of the effects on, so it may happen soon. Hopefully imageapi will be working cool for that. I don't see any problem.
#2
You may be surprised, it seems that almost any function call with the node ID ($nid) as a parameter now needs the node itself passed as the parameter ($node). But that said, easy to correct once identified.
Great to hear it should be ported to D6 sooner than later.
#3
Attached is a patch that updates both modules to D6. As mentioned upthread, they were very easy ports. :)
There are a number of notices thrown when E_ALL is turned on, I didn't take the time to go through and correct those.
#4
Ahem. Here it is with the patch full of actual text! it ws an easy port, but not THAT easy. Heh.
#5
subscribe
#6
subscribe
#7
Any chance of someone posting up the patched version of the module... for those of us who dont know how to apply a patch :) thanks.
#8
Hello guys,
I've patched then packed the 6.x flavour of the module. Then I've adapted .info files for D6 and added .install files to get imagecache plugins cache flushed while enabling/disabling the module.
#9
I've tried starting a branch for getting this working under D6 from a compare with tassomans contribution here
So for it's showing up ok, but to be D6-safe there is a bunch of warnings from the strict-error requirement, so I've got to tidy them up. boring.
the files are there but I haven't managed to test or compare with the other recent updates :(
Ah well, the framework is now in place. That's what I was taking a while to get around to. D6 CVS and branches and stuff.
#10
Attached is the patch version (against 5.x-2.0) of tassoman's fully packed version. It works perfectly for watermarking. I haven't used the other included modules in 6.x yet.
#11
subscribe - great work, thanks
#12
subscribe
#13
A D6 release was sitting in CVS for a month or two. Sorry I hadn't made a release node to link to it!
http://drupal.org/node/318918
So far it's a straight port of most things - text overlays was consolidated a lot.
Some of the UI is inconsistant as the features were pulled together from different sources. I'll be making better use of re-usable functions and snippets (like the color selector or the position x/y widget) as I continue to test and review the code.
So far tested - colorshift, text actions, alpha actions, overlay-watermark.
Other features may be untested.
Thanks to tassoman and co - yes I did use that contribution to get it started.
#14
imagecache textactions error:
warning: shell_exec() has been disabled for security reasons in /var/www/web3/html/sites/all/modules/imagecache_actions/imagecache_textactions.module on line 36.
#15
I Hate PHP "Safe Mode".
That there is the textactions attempting to see what fonts are on your system - it's really hard to detect (I don't know the proper calls that will work across all systems) so I just scan the /usr/fonts directory :(
It's just a helpful validation check, so I guess we can skip it altogether ... but you'll have to know EXACTLY what the filenames are of the fonts you intend to use or things break later.
Please see if this version fixes that If not, post your phpinfo in a new issue.
#16
hmm no, now this error:
warning: shell_exec() has been disabled for security reasons in /var/www/web3/html/sites/all/modules/imagecache_actions/imagecache_textactions.module on line 45.
#17
I used
if( ini_get('safe_mode') ){If that's not catching it - i need more info about your server. Please open a new issue
and attach a phpinfo dump.
#18
The D6 Port is up, but the font detection is still flaky.
If someone can provide more diagnostics or hints, please open that in a new thread.
--project followup subject--
Automatically closed -- issue fixed for two weeks with no activity.
#19
Automatically closed -- issue fixed for two weeks with no activity.