Adding class to uploaded images