resizing photo, adding features