create thumbs for mediafiles after upload. changed image resizing a little.