Support » Plugin: GWPG3 » [Plugin: GWPG3] WPG3 not displaying photos

  • I have loaded the plugin and inserted the code on the HTML of a post but it didn’t work.
    It shows nine placeholders (the number of albums in the top level of my gallery) but it doesn’t display the photos of the albums or drill down to the next level when the placeholder is clicked.
    I thought that the tag <WPG3<item/1</WPG2> looked a bit funny so then I changed it to <WPG3>item/1</WPG2> then <WPG3>item/1</WPG3> and then tried substituting item/1 for the gallery name, all to no avail.
    The Rest module is activated and allow guests set to 1.
    Any further hints?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author digitaldonkey


    <WPG3>item/1</WPG3> is the right Version. Sorry I’m still fighting with the readme standard 😉

    Do you have an example online?
    What are the links at the Albums?

    I have a test post on
    I’m not sure what you mean by “What are the links at the albums?”

    Plugin Author digitaldonkey


    With links on Images i meant actually two things: The image urls and the Links around the images
    <img src=??? .../>
    But on your page is obviously nothing.

    The Rest seems to Work as you can see

    I could reproduce your error in my Testsite. Getting the Members at wpg3_class_WPG3_Xhttp.php line 163 don't work. This request returns just '[]' but it should retun the members as described in["","","","","","","","",""]

    Which Version of Gallery3 are you using?

    Plugin Author digitaldonkey


    For some strange reason it works with one item less in the urls-array.
    Try removing one item of your g3 main album.

    Maybe we discovered a strange REST Error?

    To see the Url uncomment

    echo "<br />getMultipleObjects URI : ".$uri."<br />";

    in WPG3_Xhttp.php

    I deleted one album and it worked. What a strange error.

    I am using the latest released version of Gallery 3. I am not able to check the exact version as my server has just gone down. Strangely it went down just as I finished editing the WPG3_Xhttp file.
    Two days ago the server went down after looking at one of those files. At the moment I am putting it down to coincidence.

    I am using Gallery3.0 (Santa Fe)
    When I say “It worked” up above I meant that the albums appeared in the post. When I drilled down into the sub albums they also appeared as there were not many of them. As soon as I hit an album that had nine items or more, it would only display the placeholders and not the photos.
    Deleting a single album at the top level was OK since it was one I didn’t look at much. However to get access to all my photos would mean only having eight pictures per album and no more than eight sub-albums in an album. No very practical.
    I am not a coder but I will have a quick look to see if anything really stands out.
    It is almost like there is a variable that only takes a single digit and but somehow maxes out when you hit nine.

    Plugin Author digitaldonkey


    Can you test your REST Api against this:"","","","","","","","",""]

    if you add ‘&output=html’ or use chrome browser you should see all the requested urls in simillar to print_r or var_dump in php.
    This should work with any number of urls as far as I understood the Rest-Specs.

    I resume:
    -if one url is wrong an empty array will e returned.

    So maybe we have a cache problem. There is no clear yet.
    But remove the two slashes the line 117:


    to disable caching.

    Ich verstehe nicht!
    I’m not sure what you mean by testing the REST API. I cut and pasted that string into my browser (I used Chrome) and it showed only a blank page with the words ‘Empty Response’ in the top left corner.
    I un-remarked line 117 but it made no difference.

    Is this problem unique to me? No-one else seems to have a problem with the plugin, or perhaps I am one of the pioneers on the bleeding edge blazing the way for those who will follow 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: GWPG3] WPG3 not displaying photos’ is closed to new replies.