Fixed it for you.
Image wasn’t visible?
Please Login to reply.
Yep, because
?format=jpg&name=medium
Should be
.jpg