WordPress.org

Ready to get started?Download WordPress

Forums

Success with a Gallery in WordPress? (28 posts)

  1. rhealz
    Member
    Posted 9 years ago #

    I've had no problems with iimage gallery. Very easy to install and manipulate. What was your problem, specifically?

  2. dss
    Member
    Posted 9 years ago #

    check simple php gallery.
    http://relativelyabsolute.com/spg/
    i've found that it pops right into a hollowed out index.php and looks wonderful, and works very well.
    F.

  3. rhealz
    Member
    Posted 9 years ago #

    dss-
    Would you mind elaborating a bit more on how you hollowed out the index.php file? I assume you merged index.php and sp_index.php but I'm unclear as to exactly how the syntax looks.
    Also, I'm assuming you installed everything to a folder, if not a subdomain, right? They give very detailed explanations of the code at the website you linked but not much in the way of installation or customization.

  4. dss
    Member
    Posted 9 years ago #

    sure thing.
    for 1.2(.1) and earlier:
    0. install simplePHPgallery, and set it up how you like it in a sub folder of your WP install (perhaps called "gallery?")
    0a. use the htaccess option for the application.
    1. make a copy of your index.php
    2. remove the loop.
    2a. rename and upload this page to test it so that you are absolutely sure it will load and display correctly before you make any more changes.
    3. insert the entire text of the sp_index.php in the empty space created (where the loop was.)
    4. upload this into the root directory of SPG.
    4a. view the file to be sure it's working (it won't look perfect yet, so as long as the gallery loads into your theme all is well.)
    5. add the entire contents of the spg css file to your site's css document.
    5a. review these additions: you'll notice there are some basic html modifications in the spg css which conflict with the WP css. remove the SPG duplicate tags.
    6. upload the css file.
    7. view the new document again, make sure it's working.
    7a. make any width, color or other adjustments to make it look exactly right for your site.
    8. rename the completed/styled page sp_index.php. remove the old one (in the gallery folder) and replace it with this one.
    9. you are done, and it should look, work, and match your site just like this.
    and don't forget to thank the gallery author, and donate a little something to his life? This is great work, and it's free.
    hope this sorts you out completely.
    F.

  5. dss
    Member
    Posted 9 years ago #

    for whatever reason that link tries to go through the WP site first...
    dunnoe why.
    here it is again:
    http://sunshine.dubtribe.com/photoarchive/folder/Japan

  6. seriocomic
    Member
    Posted 9 years ago #

    I have spent hundreds (thousands?) of hours looking for the perfect image gallery that will play nicely with WP.
    I am currently using the stand alone Menalto Gallery script (like Photomatt) which I have heavily customised.
    But I have just started working on tidying up the WordPress based Pictorialis to match my requirements. It's basically another WP installation. You can see my efforts here (under heavy development so will change/fail from hour to hour).

  7. rhealz
    Member
    Posted 9 years ago #

    dss-
    Thank you very much for the detailed explanation. Much appreciated.
    I'm going to give it a shot and see how it works. I've gone through a couple different galleries looking for the right one. Hopefully this one integrates well.

  8. greatbananas
    Member
    Posted 9 years ago #

    thanks for the advice. :) I will give simple php gallery a try when I have time later this week. I think if that doesn't work, I'm going to go with Menalto Gallery. Pictorialis isn't exactly what I want since I want to show multiple images within a blog.
    The problem I had with iimage was when it tried to create thumbnails. I get the same problem with Exhibit. For Pictpress, it can creat 3 thumbnails and anything more than that fails.
    I am thinking it could be a problem with Imagemagick. Although I have full countrol of my server, I'm not too sure how to configure Imagemagick. I'm hoping GD will give me better luck.

  9. NuclearMoose
    Member
    Posted 9 years ago #

    There is an *oops* in step 9 of dss' explanation...the hyperlink is hooped. Try this link instead.

  10. NuclearMoose
    Member
    Posted 9 years ago #

    dss,
    What version of SPG are you using? I'm not able to resize images, even though I've set the variable to true. Also, the quality of the thumbnails is horrible. I'm not sure what could be causing this.
    A link to see for yourself.

  11. Anonymous
    Unregistered
    Posted 9 years ago #

    Nuclear Moose, see this comment for a bit of help. I'm working on figuring out the issues with resizing, but you should be able to fix the thumbnail problem if you have GD 2.x

  12. rhealz
    Member
    Posted 9 years ago #

    Any idea how to solve my problem as I described it in my earlier comment?
    Thanks.

  13. Anonymous
    Unregistered
    Posted 9 years ago #

    Try changing line 3 from this path:
    ./wp-blog-header.php
    to this path:
    ../wp-blog-header.php
    It sounds like it's looking in the wrong place for the include file, this will tell it to look for it in the parent directory.

  14. brave
    Member
    Posted 9 years ago #

    what the meaning of
    use the htaccess option for the application.
    can anyone kindly explain it to me? do i need to edit it or something?

  15. NuclearMoose
    Member
    Posted 9 years ago #

    Don't forget to read the instructions Paul provides with the application so that you understand how it works.
    In sp_config.php, look for:
    //$modrewrite Settings
    $modrewrite = false;

    and set it to:
    //$modrewrite Settings
    $modrewrite = true;
    Then, copy the contents of the .htacess file Paul provides into your own .htaccess file and you will then have nice URLs. If you don't do this, the gallery will still work, but the URLs will simply be ugly.

  16. dss
    Member
    Posted 9 years ago #

    rhealz:
    you got it from the source. indeed, since you are in a sub folder, you need to direct it back to the source.
    ../
    indeed. sorry i forgot about that step.

  17. dss
    Member
    Posted 9 years ago #

    brave:
    yes indeed. step 0a depends entirely on step 0 to work.
    so be sure you first install the gallery as describen in Paul's read me before moving on to worry about how it looks.
    F.

  18. PaulGriffin
    Member
    Posted 9 years ago #

    Given the amount of discussion here (and the traffic it has been sending to my site), I think I'll whip up a few pre-packaged versions of SPG that are configured to integrate into WordPress out of the box, that might be useful. Not to mention that it might inspire me to finally integrate my gallery into my templates ;P
    Oh, and thanks to everyone here who has chipped in with advice for those who are struggling with SPG, I am woefully behind on answering questions...

  19. dss
    Member
    Posted 9 years ago #

    *cheer*
    i'll write one up for doing it with Kubrick if you need me to.
    thanks Paul, you rock!
    F.

  20. PaulGriffin
    Member
    Posted 9 years ago #

    A'ight, she's done.
    Check the site for the new version of SPG:
    Relatively Absolute
    A bit hasty, but I believe everything is in order there. Enjoy!

  21. dss
    Member
    Posted 9 years ago #

    Thanks Paul!
    nevermind my instructions (unless you like the hard way like i do)
    download wp-spg 1.1 from the link above and take a break.
    F.

  22. moshu
    Member
    Posted 9 years ago #

    dss,
    do you realize that your "tutorial" above - if #3. executed - would result in a page (file) that has 2 head sections, 2 body sections, 2 encodings... etc ?
    I don't think it's ever a good idea to put a whole index file in the middle of another index file :)

  23. navid
    Member
    Posted 9 years ago #

    I've been using Gallery v1.4.4 and WordPress 1.3 for some time now and I've had zero problems. The only modifications I've had to make was two files.... to include my website header and footer, thats it.

  24. Anonymous
    Unregistered
    Posted 9 years ago #

    I've been trying to get Gallery 1.4.4 to work for ages but I can't get the layout corect.. can you give any tips?

  25. NuclearMoose
    Member
    Posted 9 years ago #

    navid and anon...
    I think you are referring to a different gallery system. Currently, Paul's SPG - Simple PHP Gallery - is at version 1.1.

  26. gunkdesign
    Member
    Posted 9 years ago #

    I have 2 questions. if you want to use this on a gallery page only do you create a separate template?

    Also on Pauls site/blog he has the images as thumbnails along with text. is this a plug in we can download?

  27. mosco
    Member
    Posted 9 years ago #

    I've been using the curioso pictpress plugin:
    http://www.curioso.org/2004/05/pictpress
    works very well on wp 1.5.

  28. energylab
    Member
    Posted 9 years ago #

    hi!
    i've been using gallery in wordpress as well - it embedded perfectly since about yesterday when i upgraded to 1.5beta and to the newest gallery version - but i'll get it going again.
    if you wanna know how it's done - i've put the tutorila i received by Ken Rodriguez up on my website: http://www.energylab.de/wordpress/index.php?static=wp-gallery-howto
    cheers
    roman

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.