Adding logic for upload view for Fotomangia.