shrinking image of target for display to dashboard
merging resizeing of image