Hi.
Yesterday I thought that running presets triggered by rules would be a great idea.
My current implementation isn't usable without imagefield but could be a good starting point for a more general implementation.
Stefan
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 376531_imagecache.rules_.inc_.txt | 3.85 KB | stborchert |
| imagecache.rules_.inc_.txt | 3.74 KB | stborchert |
Comments
Comment #1
drewish commenteddidn't really give this a through look, the tabs for indenting made it hard to read. i'd say give http://drupal.org/coding-standards a read and do a little clean up.
Comment #2
stborchertHm, don't know why there are tabs instead of spaces (eclipse is configured to use spaces only).
Now coder doesn't complain about the contents of this file.
Stefan
Comment #3
stborcherttagging issue
Comment #4
pkej commentedWould this be a way to trigger for example different kinds of thumbnails for different browsers, for example one size for iphone, one for mobile, and one for the web?
Comment #5
stborchertHm, you could create an unlimited number of different thumbnail sizes. But its your decision (or the decision of your theme) which one to show.
So yes, this could be a way to generatze different kinds of thumbnails.
Comment #6
walker2238 commentedI like this idea... Subscribing
Comment #7
mitchell commentedupdating status
Comment #8
drewish commenteddoesn't rules use core actions? if so this should be merged with #374202: Actions: flush all, generate, generate all presets per node
Comment #9
k3vin commented+1