Added support for image popups (as an option)