!
zotlabs.org | Hubzilla Development According @
Mike Macgirvin ⚡ proposal I started preparation to local thumbnails move from database storage to filesystem.
https://framagit.org/hubzilla/core/merge_requests/1585photo
table will be used for metadata store as we do it now e.g. in Photocache addon and thumbnails will be stored in users folder. Sample for channel cover photo image.
root@zotum:/usr/local/www/zotum.net # ll store/kostikov/ac943cd0-31bd-4849-9403-0efbf4b061ec/
total 762
-rw-r--r-- 1 www wheel 505140 Apr 8 14:07 9a6d8768-7b8e-4472-b21e-d3c3f44e1e54
-rw-r--r-- 1 www wheel 144187 Apr 8 14:13 9a6d8768-7b8e-4472-b21e-d3c3f44e1e54-7
-rw-r--r-- 1 www wheel 77898 Apr 8 14:13 9a6d8768-7b8e-4472-b21e-d3c3f44e1e54-8
-rw-r--r-- 1 www wheel 23603 Apr 8 14:13 9a6d8768-7b8e-4472-b21e-d3c3f44e1e54-9
Related question is should we take thumbnails into account of user disk quota?
For compatibility those changes should be accepted and applied on most part of Hubzilla network before main thumbnails processing mechanism will be changed from the database to filesystem storage.