Fix image upload bug and improve performance

This update fixes a bug where an attempt is made to upload an image from
the input file type with the name 'image_upload', even if that input
field does not exist.

Unnecessary code is also removed from the BlogConnection class in the
UploadImage method, improving performance.