changed call for image add cfcuntion