distribusi should make regular file based thumbnails and just put them in a folder #6

Closed
opened 6 months ago by crunk · 1 comments
crunk commented 6 months ago
Owner

currently there is a thumbnailer option in distribusi

return ("<figure><a href='{}'><img class='thumbnail' src='data:image/jpg;base64,{}'></a><figcaption>{}</figcaption></figure>"
        ).format(name, data_url, cap)

data_ulr being a base64 encoding of the image 450x450px. there are a few issues with this, but mostly its not reusable elsewhere and this becomes very slow with large lists of files.

a regular thumbnailer with saved files is maybe a better option

currently there is a thumbnailer option in distribusi ``` return ("<figure><a href='{}'><img class='thumbnail' src='data:image/jpg;base64,{}'></a><figcaption>{}</figcaption></figure>" ).format(name, data_url, cap) ``` data_ulr being a base64 encoding of the image 450x450px. there are a few issues with this, but mostly its not reusable elsewhere and this becomes very slow with large lists of files. a regular thumbnailer with saved files is maybe a better option
crunk added the
enhancement
label 6 months ago
Poster
Owner

image files now get their own _thumbnail.jpg that sits next to the original

image files now get their own `_thumbnail.jpg` that sits next to the original
crunk closed this issue 5 months ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.