Fix EZP-23287: Empty Image FieldType triggers twig_error_runtime

check if image is set, otherwise don't try to render the image