block: Open the underlying image file in generic code