Viewing 8 replies - 16 through 23 (of 23 total)
  • In case anyone else has this single row issue add the following to your wordpress theme style.css:

    div.imgwrapper{
    float:left;
    margin:10px;
    }
    p#credit{
    clear:both;
    }

    and a good guide to installing SPG into wordpress here: https://www.quirm.net/show.php?contentid=11

    dubyah, that new css doesn’t give me any double rows. ??
    Could be all the other bugs and error messages that prevents it from working tho.

    My attempt at a gallery (on a friend’s webpage) is here: https://www.pohildre.com/gallery/
    I don’t know if I should use this thread to explain the strange error messages I get when entering the gallery. Or if I should start a new one. Let’s try this thread.

    It says:
    “Warning: readdir(): supplied argument is not a valid Directory resource”
    and
    “Invalid argument supplied for foreach()”

    Don’t understand why it’s doing this to me. I have followed the instructions to the letter, except that the cache folders that were supposed to be chmodded to 755 had to be set to 775 instead, in order for the thumbnails to appear at all. Any help would be most welcome!

    777 I mean, not 775.

    Ok. Just realized that enhanced Simple PHP Gallery and Simple PHP Gallery are two different things. Since mine is enhanced and this thread is for the regular one, I have started a fresh thread on my problem here: https://www.ads-software.com/support/topic/42616
    Sorry about the confusion.

    is it possible to actually INCLUDE the gallery inside a wordpress page? like to have a 5 images box on the homepage or something?
    thank you

    I had posted a thread on SPG’s forum as well, but does anyone have an idea as to how I would go about integrating – “wrapping” – the administrative portion of the script into wordpress so that users wouldn’t have to create two accounts? Even if that meant that something as simple as if user = logged into wordpress - then login under 'admin' in SPG….

    Any ideas let me know… I don’t have the greatest knowledge of PHP but if someone can help get me started I will run with it.

    I have trouble integrating SPG with my wordpress site. I get this error:
    Fatal error: main(): Failed opening required ‘../wp-blog-header.php’ (include_path=’.:/usr/local/lib/php’) in …/Gallery/sp_index.php on line 3
    What do I do about this?

    And how do I do to place the gallery in a wordpress page?

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘Integrating Simple PHP Gallery (WP 1.5)’ is closed to new replies.