Added Port Support
Mimetype differences and support for jpg, jpeg and png