Oh by the way, this might help:
I am using “Light – Responsive LightBox” plugin, which says
“Automatically makes all images that link to other images into a responsive lightbox, using FancyBox from FancyApps.”
Could it be that when using the ID, this plugin does not “understand” that it is actually an image object? I don’t know if that makes sense to you 🙂