Currently the images/videos for which the resizing process fail are kept in their album, so they appear in the html output (without thumbnail/image/video). The solution is to remove these files from the source directory, but it would be better to remove them from their album.