Articles Comments

Marco Luthe Online! » WordPress Stuff » How To Include Your Flickr Photos In WordPress

How To Include Your Flickr Photos In WordPress

Thanks to Tim I found a nice wordpress plugin called FAlbum which helps you including your Flickr photos in your wordpress project:

Note that it might take some customization. My sidebar was thrown to the bottom when I first installed it. Help can be found here. Although these instructions refer to a special theme, it helped me out a lot.

Filed under: WordPress Stuff · Tags: , , ,

  • http://maldivesonlineguide.com Murad

    how did you fix the side bar for mistylook with falbum? please email

  • http://www.saphod.net Marco

    Hmmm, I’m afraid I have forgotten… :’-(

    This is what my ‘falbum.php’ looks like:

    <?php
    /*
    Template Name: FAlbum
    */
    ?>
    
    <?php get_header();?>
    <div id="content">
    <div id="content-main">
    
    <script type="text/javascript" xsrc="<?php echo get_settings('siteurl'); ?>/wp-content/plugins/falbum/res/falbum.js"></script>
    <script type="text/javascript" xsrc="<?php echo get_settings('siteurl'); ?>/wp-content/plugins/falbum/res/overlib.js"></script>
    <?php if ($falbum->can_edit) { ?><script type="text/javascript" xsrc="<?php echo get_settings('siteurl'); ?>/wp-content/plugins/falbum/res/prototype.js"></script><?php } ?>
    
    <!--
    <?php /* Remove or comment out the below line after to finding the Photos page page_id */
    if ($page_id == null) { echo '<h2>page_id = '.$post->ID.'</h2>'; }
    ?>
    //-->
    
    <div class="primary">
    <?php $falbum->show_photos(); ?>
    </div>
    
    </div><!-- end id:content-main -->
    <?php get_sidebar();?>
    <?php get_footer();?>
    

    Then I took this template for my ‘Photos’ site. I guess that was it…

    Tell me if you still have any trouble after making the changes.

  • http://do.web.id Dendi Reza

    Any idea how to include falbum thumb in sidebar. please email me.

  • http://www.saphod.net Marco

    @Dendi:
    Please refer to the FAlbum functions and variables which can be found on the FAlbum Wiki. You may want to use the show_random() or show_recent() function. Just call that function in the sidebar template. Some further CSS or template editing may be necessary.

  • http://do.web.id Dendi Reza

    thanks mate.. I found it here: http://www.randombyte.net/wiki....._variables

  • http://www.saphod.net Marco

    @Dendi:
    No prob… have fun with your new blog! :-)

blog comments powered by Disqus