User Tools

Site Tools


rescale_thumbs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

rescale_thumbs [2007/06/04 10:06] (current)
Line 1: Line 1:
 +===== Rescale thumbs by hand =====
 +
 +[[unclassified_workflows|↩ Unclassified Workflows]]
 +
 +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.
 +
 +=== Delete old thumbnails ===
 +
 +  - You have to log in at the foxridge as //​archive//​. You need an ssh-key for that. See [[ssh_public_key|here]] for more information about how to create an ssh-key.
 +  - Go to ''/​mpiwg/​temp/​online/​scaled/​thumb/​permanent/<​the path where the images are located on online/​permanent>''​\\ For example: \\ The images you replaced have the path:\\ ''​foxridge/​online/​permanent/​echo/​XXX/​images''​\\ Then the thumbs have the path:\\ ''/​mpiwg/​temp/​online/​scaled/​thumb/​permanent/​echo/​XXX/​images''​
 +  - Delete the thumbnail images.
 +  - The next time the thumbnails are needed they will be created.
 +
 +=== Use Scale-o-mat ===
 +
 +  - Log in to einst2 (you need administrator rights for that)
 +  - Use the script ''/​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 [[scale-o-mat|here]].
 +
  
rescale_thumbs.txt · Last modified: 2007/06/04 10:06 (external edit)