First, thanks for this great little module. If only I could get it to work...
I'm trying to use tokens from the list of replacement tokens for both Zip filename pattern and Image filename pattern - like [filename], [page-title] - but the tokens themselves are being used literally instead of their replacements. I have the token module installed and am using it without problems elsewhere on the site - it's just not working for this module...
I am using a node with imagefield attached nodes. Is this module meant to work with this arrangement? Ideally I would like to use the main node title as the name for the zip file. There doesn't seem to be a token for this? But any token is ignored. Why can't any token be used - why just the listed ones?
I'm using token 6.12 and the latest dev version of this module. Am I missing something? Any ideas?
Comments
Comment #1
infojunkieI am not aware of this configuration. Please explain how you set it up.
Also, the "Imagefield_archive" tokens should not be appearing for the Zip archive - that's a bug. On the other hand, it doesn't make sense to use the node title for the Zip file since the point of this action is to package images from many nodes - each image pattern does have access to node tokens.
Comment #2
mautumn commentedI have something akin to gallery nodes and their corresponding image nodes - a simple one-to-many relationship - not multiple imagefields in the same node (that is not flexible enough). Each gallery is a node, and each picture is an imagefield node (plus other fields), and I am using the node attach module to add image nodes to each gallery.
To perform the archive I select a gallery node, then I select all the required images from the attached view of images, and press the imagefield-archive link. If I leave the zip filename and path text fields blank when doing an imagefield archive, all the right images are archived - so it is traversing the child nodes correctly. Also the image file names in the archive are the original filenames and extension - which is fine (I'd prefer to have the imagefield node titles, but that is a nice-to-have). I simply want to be able to name the zip file according to the name of the gallery using the node title of the gallery node. I don't need (or want) any directories/paths created in the archive.
I hope this is clear enough. Is this way off what the module is supposed to do?
Comment #3
infojunkieI'll take at look at this when I get back from vacation after June 19th. Thanks for your patience!
Comment #4
infojunkieClosing this as I don't plan to support this module.