• I’ve been finangling with the thing for a few hours now, to no avail. First, I began by following the instructions found here to a T – as best as I could with the added wrenches that 1.5 throws in.

    I kept getting php errors, saying that it couldn’t find the php includes, the header, the searchform.php, and the footer. I must have tried every single combination of moves, I had photos.php in my root folder, my /blog, it’s own folder, the template folder, etcetera.

    After hitting this wall, I tried to use 1.5’s static pages, and insert the one line of code that seems needed –

    <?php flickr_show_photos($_GET['album'], $_GET['photo'], $_GET['page']); ?>

    Into a static page. For this, I downloaded RunPHP, installed it, etcetera.

    Finally, I’ve gotten it so that it shows a blank page. Personally, I find this to be a step up from errors, but who knows why it’s happening. Currently in my static page, I have the following:

    <script type="text/javascript" src="<?php echo get_settings('siteurl'); ?>/annimg.js"></script>

    <?php flickr_show_photos($_GET['album'], $_GET['photo'], $_GET['page']); ?>

    The javascript and that bit of code has been worrying me, it wasn’t even mentioned in the readme that came with Flickr Gallery 0.7.

    Any thoughts people? I really want to go the Flickr route. Thanks in advance!

Viewing 15 replies - 1 through 15 (of 19 total)
  • I haven’t done it with pages but I created a gallery.php file with the following:

    <?php require('./wp-blog-header.php');
    get_header(); ?>
    <div id="content" class="narrowcolumn">

    <?php flickr_show_photos($_GET['album'], $_GET['photo'], $_GET['page']); ?>

    </div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    and it works just fine.

    Thread Starter RedSkunk

    (@redskunk)

    I’m getting an error, that I had been seeing before:

    Warning: Invalid argument supplied for foreach() in /home/whitema/public_html/blog/wp-content/plugins/flickr-gallery.php on line 78

    http://whitemaleconsumer.com/blog/photos.php

    Thread Starter RedSkunk

    (@redskunk)

    wtf? I just sat back down, refreshed one last time, and… it’s now working….

    bleh.. Meh… Thanks though, apparently just switching from includes to ‘get_’s solved it all. Strange.

    I’ve managed to get the plugin running with pages ok using the code mentioned in the first post. However the thumbnail styling is off. See: http://the-way-to-the-centre.org.uk/blog/gallery?album=4120

    taking clear: left out of .flickr-thumbnail makes them show in a vertical list, but I have no idea how to stop them stepping diagonally like they are at the moment. Though once they hit the second row works fine. Anybody?

    You should check your gallery.php for some messy break tags, just after the insertion of the jpg`s from flickr….and your comment script, tried to tell you on your blog.

    JohnM.

    Thanks John, you got Spaminated 🙂 Looks like the linebreaks were appearing beacause I was putting the code in the ‘write’ area of the page and using index.php. Now I have the code in gallery.php and all is good. Thanks again.

    Is there anyway to disable the comment link for that… I mean just show the image and the caption?

    The flickr photos link to my original website and not the flickr gallery like other examples I’ve seen what am I doing wrong? I followed the instructions but did not add anything except for teh flickr_cache file.

    http://shortforstephen.com/index.php/albums/

    That happened to me when I got the URL_ROOT path incorrect. Try droping the last trailing slash.

    mstecker

    (@mstecker)

    I got it working on my site with pages, it shows the main list of galleries but when you click on the galleries they go to blank pages. My suspicion is that it’s somewhere in the .htaccess file. Here’s how I have mine setup…

    in the “Photos” Page:
    <phpcode><?php flickr_show_photos($_GET['album'], $_GET['photo'], $_GET['page']); ?></phpcode>

    in the .htaccess file:
    RewriteRule ^(photos)/?(album|page)?/?([_0-9a-z-]+)?/?(photo|page)?/?([_0-9a-z-]+)?/?(page)?/?([0-9]+)?/?$ /index.php?pagename=$1&page=$2&$1=$2&$3=$4&$5=$6 [QSA]

    i also have no luck running this plugin with my blog. it seems like dreamhost is giving me a hard time? any dreamhost user are currently running it with no problem? if so, can you please tell me how you did it? i would be much arppreciated

    i am using this plug-in and it is working great for me. see http://www.ryangrant.net. the friendly URI’s were giving me trouble, so i decided against using them, also the EXIF data hasn’t been working (only interferring), but always more experimenting to do. make sure you have the right folder set up to be writable and the correct path to php on your server.

    cheers ryan for the help.
    just incase anyone are interested (dreamhost user). if you are still figuring out a solutions for the flickr-gallery plugin and happens to be a dreamhsot user or any host that has disable their fopen function. here is the upgraded or modified version of flickr-gallery written by nick. i have this plugin working perfectly now. cheers

    Just finished getting my gallery, which uses Flickr Gallery 0.7, configured on a fresh install of WordPress 1.5.1

    Per anthonymcg’s post above I set my gallery.php in the root directory using the code he posted.

    EXIF was set to false also & don’t forget to create flickr-cache folder in wp-content folder

    Set it up as a page also by adding a template name to wp-content/themes/default/gallery.php
    as such:

    <?php
    /*
    Template Name: Gallery
    */
    ?>

    The went to create pages from the admin panel and choose Gallery from the template choices.

    Can someone please post a mirror of the Flickr Gallery 0.7 plugin ?
    The worrad.com site seems to be down as far as I can tell, and there is no mirror of this plugin available anywhere i can see…

    Any help would be appreciated.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Flickr Gallery 0.7 and 1.5??’ is closed to new replies.