rename prototype and resize images