Edit image

Fix for #2 - basic image resizing for now.