imgur clone for a class php project.