The following text describes how to create or rescale thumbnails by hand. You only need to do this, if you have replaced or deleted images that already have thumbnails or if the thumbnails and the images in the Dokuviewer or ECHO Viewer don't correspond.
You have two possibilities. In both cases you have to use the terminal.
/mpiwg/temp/online/scaled/thumb/permanent/<the path where the images are located on online/permanent>
foxridge/online/permanent/echo/XXX/images
/mpiwg/temp/online/scaled/thumb/permanent/echo/XXX/images
/usr/local/scripts/scaleomat
with the following parameters.
List of parameters (exemplary) :
If you use the script without any parameter, it will print you a list of its possible parameters.
Example: the original images are at foxridge/online/permanent/echo/XXX/images
.
-src=/mpiwg/online/
-dest=/mpiwg/temp/online/scaled/thumb
-dir=permanent/echo/XXX
-scaleto=100
The Scale-o-mat takes the src and dir arguments to build the source path and the dest and dir argument to build the destination path.
The scaleto parameter defines the size of the resulting (thumbnail) images.
If you have changed images, use -replace
. If you have deleted images use -sync
. All existing thumbnails then will be deleted before the Scale-o-mat creates them.
For another use of the Scale-o-mat see here.