Removed request dependency
Fixed size selection for image and video