Add ImageSize for displayImage

Change-Id: I54e9c75c22b4c341b7033868e01ff73667806cf0
size sensitive disk cache

Change-Id: Idec73dfda726d48210af17312858c13e72badff9
Avoid redundant local file copy before resizing

Change-Id: I56736a1d0d20589b280efda195b064e23792c0ea