Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8992615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T22:59:49+00:00 2026-06-15T22:59:49+00:00

So I’m trying to use the JavaScript image gallery framework Galleria. http://galleria.io/ There is

  • 0

So I’m trying to use the JavaScript image gallery framework Galleria. http://galleria.io/

There is a page on how to install the Flickr plugin but it is quite unclear as to what we should be doing in between the #galleria div and where to place the linking script.

Here’s what I have (which isn’t working, just giving me a black box)

<!DOCTYPE html>
<html lang="en">

<head>
<link rel="stylesheet" type="text/css" href="geordie.css" />
<script type="text/javascript" src="geordie.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
<script src="galleria/galleria-1.2.8.min.js"></script>
<script src="plugins/flickr/galleria.flickr.min.js"></script>
<title>Home</title>
<meta charset="UTF-8"/>

</head>

<body>
<?php
//header
include("header.php");
?>  

<div id="content">

<div id="galleria">
</div>
<script>
Galleria.loadTheme('galleria/themes/classic/galleria.classic.min.js');
Galleria.run('#galleria', {
flickr: 'search:galleria'
});
</script>

</div>  

<div id="footer">
</div>

</body>

</html>

Also wondering how to link to a specific person’s Flickr account?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T22:59:50+00:00Added an answer on June 15, 2026 at 10:59 pm

    In your javascript section — you can place this in your header or at the bottom of the page or wherever you normally place your javascriopt code — you should:

    • load jquery
    • load the galleria script (galleria-1.2.8.min.js)
    • load the galleria flickr plugin script (plugins/flickr/galleria.flickr.min.js)

    Then, in a document.ready() block:

    • load the galleria theme you’re using (classic, twelve, folio, etc.)
    • use a jquery selector to attach the gallery and set your options.

    Here’s an example based on your HTML page:

    <!DOCTYPE html>
    <html lang="en">
    
    <head>
    <link rel="stylesheet" type="text/css" href="geordie.css" />
    <script type="text/javascript" src="geordie.js"></script>
    
    <title>Home</title>
    <meta charset="UTF-8"/>
    
    <script src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
    <script type="text/javascript" src="./galleria/galleria-1.2.8.min.js"></script>
    <script type="text/javascript" src="./galleria/plugins/flickr/galleria.flickr.min.js"></script>
    
    <script type="text/javascript">
    $(document).ready(function(){
    
        Galleria.loadTheme('./galleria/themes/classic/galleria.classic.min.js');
        $("#galleria").galleria({
            responsive: true,
            height: .57,
            imageCrop: false,
            thumbCrop: 'height',
            carousel: false,
            showInfo: true,
            swipe: true,
            easing: 'galleriaOut',
            transition: 'pulse',
            flickr: 'search:leica',
            flickrOptions: {
                max: 10
            }
        });
    
    });
    </script>
    
    <style>
    #galleria
    {
        width: 100%;
        height: auto;
    }
    </style>
    
    </head>
    
    <body>
    <?php
    //header
    include("header.php");
    ?>
    
    <div id="content">
    
        <div id="galleria"></div>
    
    </div>
    
    <div id="footer">
    </div>
    
    </body>
    
    </html>
    

    Note: The example code above also sets a number of options to make the gallery responsive and work with mobile swipe gestures (set “responsive” and “swipe” to true). Also, you should set the width and height of the gallery container (#galleria) in a css style block or in your stylesheet so galleria knows how to size it correctly — if you want galleria to automatically resize the gallery responsively, set the height ratio (.57 in the example) in the galleria options. See the Galleria docs — http://galleria.io/docs/ for more details on options.

    To use the flickr plugin to display results of a search, just specify a search term and optionally set a “max” number of images to show (I think the detault is 30). In the example above, max is set to 10:

    $("#galleria").galleria({
    
        // your other galleria options here...
    
        // set flickr plugin options here:
        flickr: 'search:leica',
        flickrOptions: {
            max: 10
        }
    });
    

    To display a flickr user’s public photos, do

    $("#galleria").galleria({
    
        // your other galleria options here...
    
        // set flickr plugin options here:
        flickr: 'user:library_of_congress',
        flickrOptions: {
            max: 10
        }
    });
    

    To display a photoset, do

    $("#galleria").galleria({
    
        // your other galleria options here...
    
        // set flickr plugin options here:
        flickr: 'set:72157618541455384',
        flickrOptions: {
            max: 10
        }
    });
    

    You can also display photos by tags (use the “tags” option). The options are outlined on the plugin documentation page:

    • http://galleria.io/docs/plugins/flickr/
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Basically, what I'm trying to create is a page of div tags, each has
I am trying to understand how to use SyndicationItem to display feed which is
I am trying to render a haml file in a javascript response like so:
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
I'm trying to use string.replace('’','') to replace the dreaded weird single-quote character: ’ (aka
I would like my Web page http://www.gmarks.org/math_in_e-mail.txt on my Apache 2.2.14 server to display
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I want to count how many characters a certain string has in PHP, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.