Only set display if it was previously defined into the function call (i.e. request) otherwise
this leads to a difference between generated cache id for set and get for *same* function call
thus eliminating image caching.
Examples of generated cache ids:
(get) -> 39600:5:formatpngquality45.0
(set) -> 39600:5:displayNoneformatpngquality45.0