Allow images to have original dimensions overridden by opts
Fix resizing video thumbnail in demo