Rename files and resize images