• There is an issue with inserting singlepic’s via the wordpress media manager.

    When I click on the nextGEN gallery toolbar button and insert a single pic that way it writes this
    [singlepic id=58 w=320 h=240 float=]

    when i go via the wordpress add an image button it iserts this
    [singlepic=58,320,240,,none]

    which doesnt work. i have found that i need to add the ‘ id’ before the = to get it to work, and the width and height dont work at all.

    Perhaps this is a bit of code that has been missed in an update?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter philingle

    (@philingle)

    any news on this from the nextGen guys?

    I can confirm this behavior. What’s the deal?

    Indeed this is a bug, fixed in next version

    http://code.google.com/p/nextgen-gallery/source/detail?r=485

    I found a different bug I think. This line 44 from lib/shortcodes.php was missing none as a possibility for alignment.

    $search = “@\[singlepic=(\d+)(|,\d+|,)(|,\d+|,)(|,watermark|,web20|,)(|,right|,center|,left|,none|,)\]@i”;

    so it pukes on

    [singlepic=19,320,240,,none]

    which was inserted by the editor gallery insert module and should be legit.

    I found that the singlepic tag worked onkay on one installation but not on an identical other. The image just didn’t show at all. I don’t know if this is the same problem but found a quick fix which is – from the administration panel of wordpress goto gallery/options/images and change “Cache single pictures” to no (uncheck the option).

    After this the singlepic tags start working again.
    Anyway I hope I’m not off topic and that this helps.

    I am using:
    Word Press 2.71
    NextGEN Gallery 1.2.1

    Thanks ManicMonkey, I have the same problem and your fix worked for me.

    Regards,
    Steve

    manicmonkey, I was having the same problem and your fix fixed it!

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘[Plugin: NextGEN Gallery] singlepic not working’ is closed to new replies.