Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Links from Page Comments are displayed in Fancybox

$
0
0

Replies: 0

Dear FancySupport,

when a reader posts a comment with a link to an image file, the image will be displayed in FancyBox. It does not matter if the link is in the name,url,email or comment itself.

As I run a “picture website” that issue affects me almost daily.

I wrote a simple regex in the past which filtered out all other websites and only displayed imaged from my page. But sometimes we link to pictures from other sites, which then are not displayed in FancyBox. Or, then, in some comments, pictures from my own website are linked and then all these links are displayed falsely in FancyBox.
Is there a simple way to stop this behaviour? We need just the pictures from the “Post/Page”.

Cheers


Viewing all articles
Browse latest Browse all 59525

Trending Articles