Closed (fixed)
Project:
ImageCache Actions
Version:
5.x-2.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Jun 2008 at 23:39 UTC
Updated:
14 Jul 2012 at 23:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
dman commentedimagecache_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.
Comment #2
John Bryan commentedYou 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.
Comment #3
eaton commentedAttached 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.
Comment #4
eaton commentedAhem. Here it is with the patch full of actual text! it ws an easy port, but not THAT easy. Heh.
Comment #5
rmiddle commentedsubscribe
Comment #6
roam2345 commentedsubscribe
Comment #7
akolahi commentedAny chance of someone posting up the patched version of the module... for those of us who dont know how to apply a patch :) thanks.
Comment #8
tassoman commentedHello 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.
Comment #9
dman commentedI'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.
Comment #10
jhedstromAttached 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.
Comment #11
Tony Sharpe commentedsubscribe - great work, thanks
Comment #12
fm commentedsubscribe
Comment #13
dman commentedA 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.
Comment #14
Babalu commentedimagecache 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.
Comment #15
dman commentedI 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.
Comment #16
Babalu commentedhmm 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.
Comment #17
dman commentedI 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.
Comment #18
dman commentedThe 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.
Comment #19
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.