Skip to content
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

Generate thumbnails via command line #2229

Open
sepastian opened this issue Oct 5, 2024 · 4 comments
Open

Generate thumbnails via command line #2229

sepastian opened this issue Oct 5, 2024 · 4 comments

Comments

@sepastian
Copy link

No thumbnails have been generated for some objects.

I would like to trigger thumbnail generation, ideally on the command line, without having to recreate objects and/or upload media once more. Can this be done in omeka-s? How?

I read about the command line interface in #71.

Thanks for any pointers!

@sepastian sepastian changed the title Generate thumbnails on command line Generate thumbnails via command line Oct 5, 2024
@sepastian
Copy link
Author

Anyone?

@kimisgold
Copy link
Member

Hi there. Can you describe the objects that did not generate thumbnails? What kind of files are they?

At this time, I don't believe there's a way to trigger thumbnail generation from the command line.

@sepastian
Copy link
Author

Hello, thumbnails were not generated because of a missing dependency of ImageMagick under Alpine Linux inside Docker, see this commit for details.

I ended up using https://omeka.org/s/modules/CreateMissingThumbnails/, which creates all missing thumbnails.


It would be preferable to trigger the creation of missing thumbnails on the command line, though.

Out of curiosity: does Omeka S have a command line interface at all? That could be extended to provide that functionality?

@zerocrates
Copy link
Member

We don't really have a CLI, no.

There's no particular reason one couldn't be made (jobs like the one you likely used with that module run "on the command line" essentially), but there isn't something preexisting that something like what you're talking about could hang off of.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants