preview and resizing images

gar