• Resolved cocinaor



    maybe this is a dumb question. Sorry for that 🙁

    I’m trying to get rid of NextGen Gallery by converting it’s [singlepic] tags to standard HTML tags (the <img src> thing).

    What I need to know is if NGFB can handle that. I think that the answer is yes, but I’m not sure where I read that.

    Can you help me?
    Thank you!


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author JS Morisset


    Sure thing – no problem.

    Are you moving the images from NGG back to the Media Library, or leaving them in the existing folder?

    If you move them to the Media Library, make sure your <img/> tags contain the data-wp-pid=# attribute (so NGFB Open Graph+ can fetch the appropriate image size from the Media Library). When you add images from the Admin Editor, that attribute is added automatically, but you mentioned creating the <img/> tag manually, so it’s worth mentioning. 😉

    If you’re keeping the images where they are, include accurate width and height attributes so NGFB Open Graph+ can judge if the images are large enough to be used.

    Let me know if you have any more questions.


    Thank you!

    I’ll not move the files. I think it is the easiest. The only problem that I’ve now is that I dont know each picture size. 🙁

    Can I use the plugin without those attributes?

    Plugin Author JS Morisset


    Yes, there’s another way — you can also specify the path to the full size image with the data-share-src attribute like this:

    <img data-share-src="http://path/image.jpg" src="http://path/image-thumb.jpg" />

    Make sure you list data-share-src first so the PHP regex will pick that up first.


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘NGFB without any gallery plugin’ is closed to new replies.