Added image resize helper function. Applied image resize to movie poster image