Updated preview_video controller function to make image provided from url the proper dimensions