fixed png's being only valid files
fixed not being able to resize multiple images in a row