on creating view-image way.
on creating view-image way