Hopefully must last plea related to the long saga of getting to grips with Docker/ S3 uploads etc. Thanks to @George for his untiring assistance and patience and to @Emiel for yesterdays assistance which was invaluable
My last problem (i hope) is using resize image with uploaded images
Obviously a normal upload / resize action would be something like
With S3 / Put image i have tried various combinations, variations of this
But there is obviously some sort of disjoint in the paths between save (should; that even be necessary?) as the image is always saved as per the original
Probably really simple but I just cant get this working. Images upload to correct location on D.O. spaces but are not resized
I m supposing (but I m not a professional nor an expert) that S3 Storage is a static deposit where you can store only a file. If you want to modify it you must download it (or bring it back to your server) do what you want and then upload it again.
In S3 storage the same file is saved multiple times to different physical hard drives to guarantee the availability of the file in case of hardware failure.
Maybe I m wrong but according my experience
this is S3.
If you need to work with your files, S3 maybe is not best option, while it is really great option to store files in static way.
I am saving multiple copies of the same uploaded file to different sub directories within the DO space, full size image, mid size (640px wide) and thumb (160px wide) both within development and production directories within then spaces object as appropriate.
Everything is working as it should other than the resize
Thanks, that seems a sad waste of server processing time to load / resize /save/ reload / upload but if that is what needs to be done then so be it. Thanks for all for the assistance