jfquestiaux
Well-Known Member
I have a list of records that have one fileupload element.
The files uploaded are in a folder tied to the user that uploaded them, with "images/{$my->id}/work" as file path.
If I delete one record, ALL the files uploaded in that folder (= for this user) are deleted. The records are still there though, only the images are gone: http://screencast.com/t/kJnHI56g
Also, if you set a max size for the upload, does it apply to the ORIGINAL size file or the RESIZED file?
I put a limit of 1000 Kb but was allowed to upload a 6,5 Mo file (the resized file is 260 Ko).
The files uploaded are in a folder tied to the user that uploaded them, with "images/{$my->id}/work" as file path.
If I delete one record, ALL the files uploaded in that folder (= for this user) are deleted. The records are still there though, only the images are gone: http://screencast.com/t/kJnHI56g
Also, if you set a max size for the upload, does it apply to the ORIGINAL size file or the RESIZED file?
I put a limit of 1000 Kb but was allowed to upload a 6,5 Mo file (the resized file is 260 Ko).