<> ## ||<>|| == Many Images to add? == Have a look at this [[Artwork/Documentation/Software/Wiki_Scripts#Thumbnailer|Thumbnailer]]. Alternatively, you can use this very simple Bash script. It requires imagemagick ([[apt://imagemagick|Install imagemagick]]). Open a terminal, {{{cd}}} to the directory with your images (and nothing else in it!) and enter: {{{ for a in *; do convert $a -resize 300 ${a%%.*}_s.jpg; done }}} Then, to create wiki markup: {{{ mkdir small mv *_s.* small/ for a in *; do echo "{{attachment:"${a%%.*}"_s.jpg}}<
>"; echo "[[attachment:"$a"|Full Size]]"; echo ""; done }}} Here, you first create a directory {{{small}}} to move the small versions out of the way. The filenames of the small version are generated by the script by stripping the extension from the filenames and adding {{{_s.jpg}}}. This way it can be done in a single loop. ''Better, more robust scripts or additional explanations are welcome!'' ---- CategoryArtwork