Fix "src" attribute for temporary image to get image's inline dimensions

Fixed my error from last commit.