I been busy with the lightroom plugin. I redid the ENTIRE API and converted the PHP RPC and the lua Lightroom code to JSON format.
It killed a million bugs that was happening between XMLRPC and caused issues with MAC machines.
I dont even want to talk about how much better JSON is to work with ..
My only thing is the uploading part since now I am making changes... the original programmer made it save uploaded images to the plugin folder first then move it to the appropriate album.
My thing is I want to make this a interface that follows Zenphoto best practices as much as I can and I use almost ALL internal functions to accomplish my goals.
Ok I going off base and rambling too much..
where is the best place to upload images to on a temporary base.?
Comments
Anyway, you need a place where they are not accidentally discovered as albums/images. So the choices of already existing Zenphoto folders are probably:
- the root of the /albums folder (since only folder within are considered albums)
- cache folder (you could even create your own cache subfolder folder maybye)
- uploaded folder
Thanks @sbillard I will change the code so all images are uploaded to folder in zpdata before they need to moved ... thanks.
@acrylian I just want to know what is good practices, since I am retooling the API of the plugin. I dont think using the plugin folder is not appropriate spot for uploading files even on a temp basis is a good idea.