new library for modal images in ad view, and small changes and updates for image showing