Git Product home page Git Product logo

ronakg / awesome-flickr-gallery-plugin Goto Github PK

View Code? Open in Web Editor NEW
18.0 12.0 20.0 18.09 MB

Create a photo gallery of your Flickr photos on your WordPress enabled website enabling you to customize it the way you like it. This project was originally hosted at http://wordpress.org/plugins/awesome-flickr-gallery-plugin/

CSS 5.06% JavaScript 12.82% PHP 82.04% Shell 0.08%
php flickr-plugin gallery-plugin wordpress wordpress-plugin

awesome-flickr-gallery-plugin's Introduction

Awesome Flickr Gallery

Awesome Flickr Gallery is a simple, fast and light plugin to create a gallery of your Flickr photos on your WordPress enabled website. This plugin aims at providing a simple yet customizable way to create clean and professional looking Flickr galleries.

##Features:

  • Fast and light - uses intelligent caching to load galleries instantly
  • Support for both Public and Private photos
  • Create multiple galleries with different parameters
  • Two powerful slideshow options in Colorbox and HighSlide
  • Select Photos from your Flickr Photostream, a Photoset, a Gallery, a Group or a set of tags
  • Multiple sorting options available so that you don't have to rely on Flickr's sorting options
  • Customizable image sizes with cropping settings
  • Infinitely customizable with custom CSS field
  • Fits into a sidebar widget too
  • Insert multiple galleries on same page with independent slideshow and pagination
  • Fits automatically according to the width of the theme or you can select the width of the gallery yourself
  • Ability to disable built-in slideshow so that you can use a slideshow plugin of your choice
  • Intuitive menu pages with easy configuration options and photo previews
  • SEO friendly, all your photos are available to search engine crawlers

You can see a live demo of this plugin on my personal photography page - Photos | RonakG.com

###More Examples:

###Support:

Can't get the plugin working? Head to the discussion forum for solution - Discussions | RonakG.com

##Installation:

  • Extract the contents of the zip archive to the /wp-content/plugins/ directory or install the plugin from your WordPress dashboard -> plugins -> add new menu
  • Activate the plugin through the 'Plugins' menu in WordPress
  • Configure plugin using Awesome Flickr Gallery settings page
  • Place [AFG_gallery] in your posts and/or pages to show the default gallery or create new galleries with different settings and insert the generated code

##Screenshots:

Default Settings Page Add Gallery Page Saved Galleries Page Advanced Settings Page Awesome Flickr Gallery with Thumbnail size photos with white background Awesome Flickr Gallery with photos of size Square with Title and Description OFF Awesome Flickr Gallery with photos of size Small with Title and Description ON

##Frequently Asked Questions:

After upgrade to version 3.0.0, my photo descriptions appear as "array".

Just delete the cached gallery data from "Default Settings" page of the plugin and also delete any cached pages from your caching plugins (like mentioned below).

After upgrade, only one column appears in the gallery.

This happens when you have a cache plugin (like WP Super Cache or W3 All Cache) installed. Old cached CSS file is loaded instead of the new one. Just delete the cached pages from your cache plugin and refresh the gallery page 2-3 times, it will appear fine.

I have activated the plugin, but gallery doesn't load.

Make sure your Flickr API key and Flickr User ID are correct.

My Flickr API key and User ID are correct but the gallery doesn't load

Make sure you add the shortcode [AFG_gallery] to your post or page where you want to load the gallery. This code is case-sensitive.

When I click the photo, it doesn't open full size photo.

Awesome Flickr Gallery uses Colorbox to display full size photos. Most likey you have another plugin enabled, which also uses the colorbox and is overriding the Awesome Flickr Gallery settings. It is recommended to deactivate any other plugins that uses colorbox.

Also, some themes have built-in settings to display images using lightbox or colorbox etc. If your theme has such an option, turn it off.

I have created separate galleries with different photosets as Gallery Source, but all the galleries are using Photostream as source.

This typically happens when you are using a plugin for editing your posts/pages. Try to remove the quotes from id parameter of the shortcode and it should work fine. For example, if the shortcode for your gallery is [AFG_gallery id='1'], use [AFG_gallery id=1] instead.

Also, some themes have built-in settings to display images using lightbox or colorbox etc. If your theme has such an option, turn it off.

I made changes to my Flickr account but they don't reflect on my website.

Awesome Flickr Gallery uses caching to avoid expensive calls to Flickr servers. It intelligently figures out if cache needs to be updated or not. However, sometimes it may not work as expected. You should go to Default Settings and delete all cached data.

I created a gallery with source as a Group. In this gallery, only 500 photos are appearing.

As Flickr Groups have thousands of photos, it becomes very expensive to fetch all the photos from Flickr. Hence, Groups galleries are limited to latest 500 photos.

##User Testimonials:

  • Awesome Flickr Gallery plugin is legend by the way - thanks for such a fantastic tool - LeonsLens
  • This remains the best way to set up flickr galleries! – forpetessake93
  • The Tag feature works great! I have been waiting for a plugin like this. I love your plugin. - ryangirtler
  • The name of AFG says it all. I really like the way you’ve taken the time to make a UI for creating & editing galleries. – chassy
  • this plugin is AMAZING!! Thank you – Yardena
  • The gallery looks exceptionally clean and professional. – sherrieJD
  • Awesome plugin! Awesome support! – zumine
  • Super. It is a pleasure to work with you. Very professional and highly reactive. – fibonaccifactory
  • Awesome. You rock. – VisionsInEd
  • Thanks Ronak. It works beautifully. Awesome app you have built here. – miracleboy31
  • You rock so much. Such a quick response time. Your plugin is SO SO SO much better than other flickr plugins. – AutoEntropy
  • this gallery plugin is excellent I really like it and working with Flickr and WordPress makes my workflow much easier. – AtlantisWeb
  • I have to say that I am loving what I am seeing. I set up a gallery and it looks great. – svogt
  • MANY thanks for your awesome Awesome Flickr Gallery! Works like a charm. - Jessin
  • i prefer awesome flickr gallery (i think is smoother and faster than slickr flickr) – apocalipsis1234
  • your Awesome Flickr Gallery is one of the best plugins out there!! – RichardF

awesome-flickr-gallery-plugin's People

Contributors

cogdog avatar fbianco avatar gmcinnes avatar harrygreen avatar kiyose avatar peteru avatar ronakg avatar sylvainraye avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

awesome-flickr-gallery-plugin's Issues

two warnings survived to the 3.3.5 update

Hi ronakg, I've found 2 other warnings in the last version of your awesome (!) plugin on lines 86 and 93 of index.php. Just add two isset to resolve the issues:

86: if (isset($gallery['slideshow_option']) && $gallery['slideshow_option'] == 'colorbox') {

93: if (isset($gallery['slideshow_option']) && $gallery['slideshow_option'] == 'highslide') {

Bye

Problems since update 3.5.1

Since I updated the plugin whenever I try to add a new gallery all I see is

})(jQuery);

Also when I use pagination when clicking the next or page number nothing happens.

Not showing correct photoset.

The latest album we tried to put up is not showing correctly. I use photosets and for some reason instead of showing the latest photoset it is showing one from 2011. I have "Beginning of 2014 Year" selected but it is showing "2010-2011" photoset. I have tried clearing the cache and confirming that the flickr permissions were public. Do you have any other suggestions? Thank you.

Single Thumbnail Gallery

Is there any way to have one thumbnail that represents an entire collection or set? Then when you click on it it either links to a page with all the pictures in the set or creates a popup light box gallery (like the way you have it now). I would like to create a page that displays a bunch of sets that then lead the the individual pictures, like the way it looks on your sets page (https://www.flickr.com/photos/ronakg/sets/)

SSL certificate problem

I updated the version of AFG to 3.5.0 but I still receive error like the following:
Awesome Flickr Gallery Error – SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

What to be done?

Incompatible with Jetpack plugin - Custom CSS module

AFG version 3.3.5
Jetpack version 3.1.1

When AFG is activated, the Custom CSS module in Jetpack is aligned incorrectly so that the text on the left hand side is partially missing and the 'Save Changes' button is hidden.

You can see a screenshot here:
pic1

Titles and descriptions not updating.

I just created a new gallery and the titles/descriptions are not updating. I have updated to version 3.5.1 (v. 3.9.1 Wordpress) but still no luck.

Thanks, Randall

settings page gives me error

It's probably some silly setting I'm missing but I can't get the gallery to show. The error I get is:

Warning: Missing argument 1 for afg_error(), called in /home/tweedrid/public_html/wp-content/plugins/awesome-flickr-gallery-plugin-3.tmp/afg_admin_settings.php on line 426 and defined in /home/tweedrid/public_html/wp-content/plugins/awesome-flickr-gallery-plugin-3.tmp/afg_libs.php on line 194
Awesome Flickr Gallery Error -

I've followed all instructions as per.

Remove "view on flickr" wording?

Is it possible to remove the "View on Flickr" working on the shadowbox? When the text is long, all the words run on top of each other.

Gallery Pages Won't Display unless you Hover Over

I am thinking this is a color issue, but the pages for multipage galleries are not displaying unless you hover over them. My site has a white background, and it would be awesome to enter custom link colors in the Gallery Preference page!!

Unable to set up AFG 3.5.0 properly.

I've installed AFG 3.5.0 but after filling in my Flickr user settings (ID and API Key) I can't click on the "Grant Access" button. Is this normal?

And nothing shows up on my photostream preview but this message:
"Awesome Flickr Gallery Error - error setting certificate verify locations: CAfile: /usr/local/share/curl/curl-ca-bundle.crt CApath: none"
What does that mean? What do I have to do in order to make it work?

Thanks in advance for your help!

Warning involving HTTP_SERVER_VARS

On line 164 of index.php you are using

$GLOBALS['HTTP_SERVER_VARS']['REQUEST_URI']

As of PHP 4.1.0 $HTTP_SERVER_VARS is deprecated in favour of $_SERVER and, as of PHP 5.0, the long PHP predefined variable arrays may be disabled with the register_long_arrays directive.

As I'm on a php 5.2.x server, I get a warning about non existant index HTTP_SERVER_VARS.
Just use $_SERVER['REQUEST_URI'] or add a check to avoid the warning:

$request_uri = (isset($GLOBALS['HTTP_SERVER_VARS']) && isset($GLOBALS['HTTP_SERVER_VARS']['REQUEST_URI']))?$GLOBALS['HTTP_SERVER_VARS']['REQUEST_URI']:$_SERVER['REQUEST_URI'];

Some Photosets Not Displaying

I have several photo sets I am trying to display, each in a separate gallery. I set them all up the same, but some of my galleries are not showing any pictures. At first I though it was a permissions thing, but I set my photos to public and still nothing. Any ideas?

Awesome Flickr Gallery Error on Photo Page

Hi Ronak,

I installed the plugin today and configured it. I created a new page and put in the tag [AFG_gallery] in the beginning of the page. When I access it here http://ajitabhpandey.info/photo-gallery/, I get the error (some of the text is below) -

Awesome Flickr Gallery Error - a:2:{s:6:"photos";a:5:{s:4:"page";i:1;s:5:"pages";d:7;s:7:"perpage";i:500;s:5:"total";s:4:"3298";s:5:"photo";a:500:{i:0;a:17:{s:2:"id";s:11:"14553738998";s:5:"owner";s:12:"25389473@N02";s:6:"secret";s:10:"0b8458fd6b";s:6:"server";s:4:"3874";s:4:"farm";d:4;s:5:"title";s:49:"Yahoo Team lunch - Surekha's Farewell - July 2014";s:8:"ispublic";i:0;s:8:"isfriend";i:0;s:8:"isfamily";i:0;s:11:"description";a:1:{s:8:"_content";s:0:"";}s:10:"dateupload";s:10:"1406280879";s:9:"datetaken";s:19:"2014-07-25......

Forbidden error

After installation (3.3.5) and authorize the script on Flickr in "Your Photostream Preview" section I see:

"The web service endpoint returned a "HTTP/1.1 403 Forbidden" response"

The same results are obtained using:

  • Add gallery
  • Edit Galleries

Very slow load time with multiple galleries

I'm loading about 6 different Galleries on the page, each gallery has anywhere between 20 - 100 photos. Now, I'd expect the gallery to take a little while to load the first time, however I was under the impression that Awesome Flickr Gallery cached the images for later use. This doesn't seem to be the case as every time I load the page I am waiting a good 10 seconds or so before any images are displayed. Am I missing something here? Is there a setting I need to turn on or should this just work?

You can check out the load time here:
http://www.littlemisscupcakes.co.uk/scrapbook/

I even went and disabled all the other plugins and javascript to see if it would help and it was still very slow. I would imagine the images to load pretty sharpish once they had loaded the first time?

Please let me know if you need any more info on this.

Thanks for your work on this plugin by the way. It was nice and quick to get up and running!

Lots and lots of empty DIVS in my rendered gallery

I'm using AFG to display four images at random (two rows, two cols) from my Photostream. The setting in AFG is for a maximum of four photos.

In the source code for the page, after the gallery has been rendered, there are dozens and dozens of empty DIVs, like so:

<div class="afg-row"></div>

You can view it here for yourself:

http://www.wovenland.ca/play/

I don't know if this is a bug or a design flaw, but I'd rather not be sending all that spurious HTML to my visitors. I can't find a fix for this in the settings. Any help would be appreciated.

I am using AFG 3.5.1, and Wordpress is up-to-date.

Some problems trying to add a new plugin with AFG active

Hi Ronakg I've found another problem in afg_update.php on line 58. If you click on "Add new" plugin in wordpress backend and then search for a plugin by name, you get a warning like "Undefined property: stdClass::$slug".

Adding a "isset($args->slug) &&" in the IF clause, resolves the warning issue, but your function doesn't end returning false no more, and I've got a unserialize error on line 74 .
So I've changed line 58 like this:

if ( (isset($args->slug) && $args->slug != $plugin_slug) || isset($args->search) )

Now all seems to work fine.

P.S.: I'm on a WP 3.3.1

Awesome-Flickr is not refreshing title field from Flickr

Note: using WordPress 4.0 and Awesome-Flickr.

I uploaded a photo to Flickr with one title and then created an Awesome-Flickr Gallery.
I saw an error in the title, so I went back to Flickr and changed it. But it continues to
show the erroneous title instead of the new title I added?

I additionally made change to the Gallery from fixed date to random and changed slideshow behavior,
but it is not showing any changes.

I then added more photos with the same tag inside of Flicker.

It is only showing the photo that it originally found, and not any new photos added.

I understand that Awesome-Flickr is not currently compatable with WordPress 4.0, but I thought I would
document the errors...

ColorBox not working; JS errors in the console

Firstly, this is working perfectly on another website. However on the current site, the correct Filckr gallery loads, but the ColorBox effect does not. I noticed some JS errors in the colsole:

Uncaught TypeError: Cannot read property 'msie' of undefined -- http://www.domain.com/wp-content/plugins/awesome-flickr-gallery-plugin/colorbox/jquery.colorbox-min.js?ver=3.9.2

Uncaught TypeError: undefined is not a function -- http://www.domain.com/wp-content/plugins/awesome-flickr-gallery-plugin/colorbox/mycolorbox.js?ver=3.9.2

I tried disabling all other plugins to no avail. Any thoughts?

Nicer HTML code

I would like to avoid the standard wordpress div and class-hell in my website.
I love this plugin, but had to rewrite most of the html to make me feel good about it. would it be possible to add a 'clean html' option, or possibly some sort of html structure editor (or alternativele, just clean up what there is now, although that might give people backward-compatibility issues)?

for an example of (imho) nicer html: http://hayobethlehem.nl/weblog/2014/08/the-romans-in-holland/

or, for ease of viewing a html example:

betterhtml

choose albums instead all photos

Hello, great job for this plugin !
I would like to know if it is possible to display only albums and not all photos. I mean in my blog (www.aworldtoexplore.com), I would like to create one single page where we can see only my albums I have in Flickr and then if we want to see all my photos we could just click on the albums to display them. Is it possible ? I hope I'm quite clear...
Thanks
Pierre

Gallery shows multiple pages, but they don't go anywhere

Gallery shows 250+ photos, with 10 showing per page. If you click on any of the pages at the bottom, it goes nowhere, but if you click on an image, you will see that you can scroll through 250+ images. Any suggestions? Thanks, Lori

AFG Photo stream Not Working

Any time I go to my page where I have a AFGallery meant to be showing my Flickr Photo Stream nothign shows up I have made a new gallery id and making a new page. Any ideas?

You have no photosets associated with your Flickr account

When I go to add gallery, and select gallery source as Photosets, I get this message: You have no photosets associated with your Flickr account. The account shows access granted, with secret, and photos show in the Photostream preview. Not sure what else I'm missing?

Awesome Flickr Gallery Error - SSL is required

Hi Ronakg, I am having an issue with your WP plugin it was working fine up until recently when it started showing the following error at the bottom of the Default Settings page:
'Awesome Flickr Gallery Error - SSL is required'
Can you help?
Thanks
Ian

White page

Hello, I don't can use photostream on a page so I deleted that for some time ago, other galleris work but now I got white page in admin and whole blogg is very slow, I have inactivate awesome flickr and now I don't get any white page and my blog is much faster.

Do you update the awesome plugin soon? I love it but I don't want to do my blog slow and get white dead pages. :-)

Oh, I forgot, I change php version on my webhotell, think I got 5.3.* 14 think it is now, from 5.2* something, was that bad?

thanks for great plugin but I want it to work propely. :-)

/Anki

When click on an image it redirects to flickr page , not colorbox

I am having an issue with the colorbox working correctly when you click on the image using awesome flickr gallery.

For example if I click on my first image it doesn't take you to a colorbox overlay, it takes you to a new page with a flickr url.

When I am logged in as an admin and see this page http://www.vivianaguilar.com/?p=263 and click on any image it displays image correctly but as soon as I logged out It saids a message: Page could not be loaded an redirects to plain page https://farm4.staticflickr.com/3848/14414183760_4393bd9639_b.jpg

let me know how this can be fixed

thank you

add a tags "all" mode

Thank you for this plugin!

I needed to setup a gallery with a set of tags but when all tags are matching. I've managed to hack into the plugin to add 'tag_mode'=>'all' to the photo_search calls when tags is involved.

I just didn't manage to add a new source with "All Tags" (and so rename Tags to "Any Tags").

It is possible to add this option for a future version?

Thanks!

SSL Issue

Hello we have tried everything from upgrading to 3.3.6 then to 3.5 then tried downgrading to 3.3.5 as some other posters had said that worked for them and no matter what we do we cannot resolve the SSL error verify the CA cert is ok.

Test page: https://www.houndsavers.org/photo-test-2/

OS: Windows Server 2008 - IIS 7.5 The SSL is valid on the site we are using the Shopp plugin without issue.

Any help would be appreciated.

Contributors can edit galleries

When someone logs in with Contributor role, they can edit galleries. This creates a problem for sites that have many contributors. Can this be adjusted so that only Editors and above can edit galleries?

Double Slideshow

I'm not too sure why this is happening (I've disabled Carousel in Jetpack) but whenever I click on any image in my gallery it loads up two slideshows; see http://pntaylor.net/gallery/

Despite trying to change different options within AFG and Wordpress itself I cannot seem to be able to stop this behaviour. Any assistance would be fantastic,

Pagination does not work

My galleries contain about 200 pictures which I break into blocks of 30 pics per page. Unfortunately, the pagination buttons don't work, i.e. you end up on page 1 all of the time, no matter if you click 'next' or 'page 2'.
Best ragards,
Martin

Preparing for the SSL-apocalypse

My AFG powered site (http://tdc.ds106.us) went dark today when flickr was fiddling with the API, and now is stuck w/o galleries in lieu of "Awesome Flickr Gallery Error - SSL is required"

What is this plugin going to do in light of flickr's impending change for API access?
http://code.flickr.net/2014/04/30/flickr-api-going-ssl-only-on-june-27th-2014/

And why is the official plugin version on Wordpress still at 3.3.4 which does not even work correctly?

Is anyone home here?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.