Implemented image resizing / sorting

images from InlineImage are now copied, resized and sorted into the
correct export directory.