Added image tratment