Adding Roman's code for auto-detecting screen width/height into ResizeImage library