Ah, this line should be `img_options[:mouseover] = mouseover`!