You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I process all images as they are introduced to the system - that is, generating thumbnails, medium-sized, and perhaps retaining the original (full-size) image.
I store files within the file system. I allow for performance optimisation by using sub-directories. Files are renamed to UUID to ensure compliance with every file system out there, consistent-length names, guaranteed(*) uniqueness, removal of potential FS or OS
name exploits, reduces potential for users to guess an image's URL.
[quote]
Notes to self:
improving performance (substr(filename,0,2)) / filename
exif data retention (ideally relocated / replicated to thumb)
thumb, original, main - directories higher, to allow some splitting (show reference code)
describe & discuss each of the points in overview, especially performance & security issues
[/quote]