refactor resizing
rename images