Create thumbnails

this button creates thumbnails.

left-clicking creates thumbnails of all selected images and puts them in the destination folder.

right-clicking
creates thumbnails of all selected images, and places them in the source folder with the suffix _THUMB attached.

whichever you click, you will be asked to "Enter longest dimension". DOpus will then resize the images such that the number you enter is either the thumbnail's width or its height, depending on the image's orientation.

by default, the thumbnails are PNG images, but this is easy to change if you want a different format.

<?xml version="1.0"?> <button backcol="none" display="both" textcol="none" type="three_button"> <label>New Button</label> <icon1>#oldshow</icon1> <button backcol="none" display="both" icon_size="large" textcol="none"> <label>Create thumbnails there</label> <tip>Creates thumbnails in the destination folder</tip> <icon1>#oldshow</icon1> <function type="normal"> <instruction>@set num=&quot;{dlgstring|Enter longest dimension}&quot;</instruction> <instruction /> <instruction>Image CONVERT=png HEIGHT={$num} WIDTH={$num} PRESERVEASPECTRATIO</instruction> <instruction /> <instruction>@nodeselect</instruction> </function> </button> <button backcol="none" display="both" textcol="none"> <label>Create thumbails here</label> <tip>Cerates thumbnails in the current folder, and adds the suffix _THUMB</tip> <icon1>#oldshow</icon1> <function type="normal"> <instruction>@set num=&quot;{dlgstring|Enter longest dimension}&quot;</instruction> <instruction /> <instruction>Image CONVERT=png HEIGHT={$num} WIDTH={$num} PRESERVEASPECTRATIO HERE ADDSUFFIX=&quot;_THUMB&quot; </instruction> <instruction /> <instruction>@nodeselect</instruction> </function> </button> </button>

This is very good.

Thanks

Soooper handy , thanks

Great button. Thanks much.