fix #1023 - description with HTML markup over image

Fixes issue #1023. Pop-up images have labels, but there was a bug - instead of the image title, the “content” property was used, which can in this case include long description, often with HTML formating.