WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I hope the title was descriptive of what I'm looking for. I have a client who has been inserting images into hundreds of posts, but choosing "Link URL: None" when inserting images instead of choosing "Link URL: File URL".

Now they want to use our Responsive Lightbox plugin, but of course, since these images aren't linked to their file URLs, our plugin can't pick it up.

Does anyone here know of any plugins, or perhaps a SQL command that we can run that will run through all the images inserted into posts/pages and link them to their file URLs?

Any advice would be greatly appreciated.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.