I fixed image element functionalities. Some styling is missing.