add trigger for origin img and save display state