Updated upload method in Image API. Fixed bug on categories pages.