Mobile thumbnail creation

New images & images that are accessed now automatically get a mobile
thumbnail.
+ some resizing bugfixes