-
-
Notifications
You must be signed in to change notification settings - Fork 46
feat: Media Gallery #219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I want to do this, can you assign this issue to me? |
do you have a list of file extensions that will be supported?? 👉👈 |
@Marcelo-maga good question, maybe we can start with the basics and make it extendable? Top of mind I remember about the common JPG, PNG, Webp, Gif, BMP However I know photographers may use other formats like TIFF and RAW. If we can't find a crate that supports multiple formats, we can maybe delegate that part to an external process? What if marmite relies on a configurable extension list and filename pattern and a Then on the rendered site we use the standard web formats such as png and jpg. I am not sure if we have to support videos, but that approach would allow the usage of ffmpeg to get video thumbnails and then embed the oroginal video file in the html. What do you think? |
found this crate |
Yess, i think that is the best way, i will start with these basic extensions
in my work, we are looking for a crate to handle some image conversion to add to PDF files, but everything depends on some external library, which is resulting in a lot of discussions about how to distribute it to our clients.
I think we should focus first on making a basic but functional feature, without spending much time on this conversion from one to another extension. I will continue thinking about something for this conversion part, as it is one of my current tasks at work, if I find something related to this, I will come back here so we can discuss it a little more. |
Hi @Marcelo-maga I think it is in the right direction, The iterations on But we can start with a non-parallel implementation and change later. |
Hi @rochacbruno, great!! Thanks for the feedback and for helping me with my next step |
Inspired by the comment on https://blog.zicon.no/marmite.html
I want to bring that feature to Marmite, how will that work?
As an artist/photographer/publisher
I want to have a folder of media published to a gallery website,
organize it on streams and tags, make it searchable.
Implementation
Config
On
marmite.yaml
Backend
Knowing there is a
extra.media_gallery_source
as a path marmite will:filename.md
file, including the imagefilename_00.ext
(in fact the aggregation pattern can be configurable) and aggregate the media under the same.md
Also
folder.md
and aggregate all the media contents.Front-end
content/media/gallery
and served from there (to make it easier for nginx rules)The text was updated successfully, but these errors were encountered: