fix for polymorphic image file source