support for display image resize