add logic for results view images