Sidehistorik
This script travles a directory structure and creates thumbnails for each image and video (flv, avi, mov)
Bemærk |
---|
This script requires packages Imagick and ffmpegthumbnailer installed, this can typically be done with a package manager for the OS. Base for search is hardcoded in the script as /data/images Thumbs Thumbnails are places in below an image in a relative subdir called "thumbs/200pxHigh - If the Height Parameter is 200. eg. "thumbs/800pxHigh - If the Height Parameter is 800. Se "Directory Structure samples" below. Image names are kept, movies get a ".jpg" appended to their filename |
Tip |
---|
This Script is closely related to the: me-image - Image lightbox with Confluence style (User Macro) me-image - Image lightbox with Slimbox2 (User Macro) me-image - Image lightbox with fancybox (User Macro)(hence used as part of) the: Script for updating my Confluence Galleries (refreshPages.sh) |
Executing the script:
Kodeblok |
---|
./makethumbs.sh Height |
...