Adding images functional