image logic -

logic