This works fine with me
<img expr:src='resizeImage(data:post.firstImageUrl, 250)'/> but my problem is that it doesn't support third party images.
blog.postImageUrl works fine too but the problem is it will render the original size of the image and you can't use resizeImage.