Photo Popup problem

Photo Popup problem

Hello everyone,
I'm glad of the new features of the 1.2.0 jquery mobile version, but I want to highlight some documentation problem.

In the new popup documentation page at  http://jquerymobile.com/demos/1.2.0/docs/pages/popup/index.html some "real world examples" are given about different popup styles.

I would like to implement the "photoPopup" style but there is no specification about the code for it; I only have to go and check the page source code and try to reverse engineering it, although it's not easy because when JQM is rendered by browser, the code becomes bigger and more confused.

I think it would be very useful to have explicit code examples on this page to implement the different popup styles. 

This is a problem I found also on other documentation pages, where you have to go and check the code to understand how some features work.

EDIT
Other user having similar problem in this thread here  https://forum.jquery.com/topic/why-ul-li-static-qutomatically-added-to-list-items 

So I found the "clean" code for popups at  https://github.com/jquery/jquery-mobile/blob/master/docs/pages/popup/popup-images.html still have to see if/how it works