generate popup image URL