Imagecache, Views, file renaming, and output directories
- by Bruno
I have been trying to figure this one out for awhile and just seem to be getting myself deeper into a rabbit hole.. I think it would be best if I would just explain what I am trying to accomplish and go from there..
Essentially what I would like to happen is a user would upload a photograph from the filefield sources on a content type, and then using views, it would output that different image through different imagecache actions.. The problem seems to be that the actual directories it is making is really cluttered and I would like it to be a little bit more organized due to some file renaming. Here is how I would like the process to happen:
Upload image.jpg
Imagecache resize 100x100 square and save file to same directory and name the file image-100.jpg
Imagecache desaturate 100x100 square and save file to same directory and name the file image-d-100.jpg
Currently it seems that every imagecache action will save that file in its own directory.. How can I specify a more customized output?
Thanks,
Anthony