Aded size variable for background image and video resolution.