Updated how ImageBlock generates the image URL