Added double image support