Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I thought that I can do it using the database where the idea was to get the image from the ngg_gallery_pictures table, where the browser URL is equal to URL of the image in the table. Then I will get only one image and that's also what I want. Probably I have some mistake here since I don't have a lot of knowlednge in sql but I would like to find the solution for it anyway..

Please let me know what you think and if you can include the code for mysql, it will be great (it is really short from examples that I saw)

Many thanks!

share|improve this question

closed as off-topic by Johannes Pille, Pieter Goosen, cybmeta, birgire, anu Nov 12 at 15:10

This question appears to be off-topic. The users who voted to close gave these specific reasons:

If this question can be reworded to fit the rules in the help center, please edit the question.