Is there anyway VBO download archive files that image cache produce than original file
thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | views_bulk_operations-image-archive.patch | 8.69 KB | liquidcms |
Is there anyway VBO download archive files that image cache produce than original file
thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | views_bulk_operations-image-archive.patch | 8.69 KB | liquidcms |
Comments
Comment #1
bojanz commentedYes. Use http://drupal.org/project/imagefield_archive
Comment #3
liquidcms commented@bojanz - i didnt see that module as i was looking for a solution for D7 and was talking to @infojunkie a while back about adding it; but he never had the time to get to it.
you can see a slightly different approach that i have created in post here: http://drupal.org/node/1787410#comment-6913140
i created a new action .inc and tweaked vbo.module to include the file thinking this could get included in vbo project. of course if you don't want to include it it would be easy enough to make a module out of it as the D7 port of imagefield_archive (although not sure if my ui is the same as that module was using)
i also changed how the zip archive is created which i think is better than how you are doing it in the std file archive action (see details in post)
please check it out if you have a chance and if you don't want to include this with the vbo project; i can easily whip up a standalone project for it.
Comment #4
liquidcms commentedand i guess it would make sense to include the patch here since it is against VBO
Comment #5
bojanz commentedSeems that it would make more sense for the image cache to be an option for the existing action ("Use the following image style for any found images", with a "None" option that's the default, so it behaves like before).
Because you're duplicating a lot of code, and that duplication can be avoided.
Comment #6
liquidcms commentedi seem to recall it looks similar but that i had to change a few things about how the existing file download action was working; mostly as i don't think it was doing the batch api correctly; or possibly that the zip archive was not being done at the right point. i'll see if i can find some time this week to take another look.
using this on a few big projects now and it is working very well.