add image upload and viewing with different folders add callbacks for jQuery