function ResizeImg

function witch resize images and make watermark