Add size classes for video and images