Related Inchoo Services

Inchoo Flick Gallery is an easy-to-use Magento extension that will integrate any Flickr gallery into your Magento website. It is fully customizable using a simple Magento back-end configuration page and it uses Flickr API to get all the required information and data. Extension is tested on Magento 1.6 and 1.7 but it’s still the first version so be careful if you decide to use it on your live site.

Features

Automatically gets all the photosets from the specified user and makes them available in Magento back-end

Using AJAX to eliminate the page loading delay caused by Flickr API requests

How to install?

Download Inchoo Flickr Gallery extension files to your Magento root directory. You can find it on github at https://github.com/srka/Inchoo-Flickr-Gallery. Extension files will be extracted into the base package / default template so if you have your own package just copy the extension files to your package / template directories.

If you are logged in to your Magento back-end you have to log out and then log in again. Clearing the cache would also be a good idea.

Configuration

Inchoo Flickr Gallery extension is made to be fully and easily configurable from Magento back-end. Just go to System -> Configuration -> Inchoo -> Flickr Gallery to find all the available configuration options.

To get started you’ll need to have a Flickr API Key and User ID. Go to http://www.flickr.com/services/api/misc.api_keys.html to get your own Flickr API Key and http://idgettr.com/ for your User ID. Once you enter your API Key and User ID save your configuration and you will get the list of all the photosets available for the user specified with the User ID. You can select all of them or just the ones you want to show on the site and save your configuration. That should be enough get the gallery up and running.

All other configuration options are pretty straightforward with useful descriptions so there is no need to explain them separately.

How to access the gallery on the front-end?

By default, Inchoo Flickr Gallery extension adds a link to the footer but you can open the gallery directly at www.yoursite.com/gallery

44 comments

I had an email today about the flickr API upgrade for SSL and I wanted to know whether we would be compatible with the current module. We are already using SSL in our website.

Flickr API Going SSL-Only on June 27th, 2014
We see that you own an active API key for the Flickr API, and wanted make sure you know about some upcoming changes to the API related to SSL.

As you may have read on the Flickr code blog, we’ve updated all of the API endpoints to fully support SSL. You no longer need to use a special subdomain to access the API securely, and we want to make sure that all API communication adopts SSL.

Many of you have moved over to using SSL already, which is great! If you haven’t, it shouldn’t be much more work than updating your apps to call the API at: https://api.flickr.com/

We’ll be updating the blog with information as we get close to the switchover date, but here’s the most important info:

During the blackout tests and after the 27th of June, calls to the Flickr API that are not over SSL will fail with an HTTP error code 403. We will also return an error message with (Flickr) code 95 and msg “SSL is required”.

We realize that this change might be more difficult for some. We will follow the Developer Support Group closely, so please let us hear your questions.

If you have a question about the API transition to SSL that you feel is unique to your situation or is more appropriate to handle via conversation directly with Flickr, send an email to flickr-api-help@yahoo-inc.com. We will monitor that mailbox through July 2014.

Hi Inchoo,
I like the idea of the extension but unfortunately the lightbox effect is not working for me. I also have Mpycho_Jquery_Lightboxes installed and likely there is some conflict. I can get my images but all is completely static otherwise and images pop overriding the site view (thus navigation is lost)

At this point I would like to uninstall. What is the best process for doing so. I do not see the extension in the Magento Backend. Ideally the system would load and unload in that manner sometime in the future.

Hi Srdjan,
i struggle to get this extension running. In fact it is not giving me any errors. It only says on zamsato.com/gallery “There are no photosets in the gallery.” Which is not correct because they are there in flickr and public accessible. I tried to read out the variables but its seems that they have no values. I need some help. Has Flickr change the file structure?
Thanx or zikomo maningi as we say here in Zambia

Can the images uploaded in such gallery be used for the Products too. . .

For eg. we are uploading the product image on the Flickr and then we can just use the url of that image on our magento for the product and on the frontend when customer opens the product page the Image get loads form the external website ???

Great extension. Is it possible to add a particular photo set to a specific page? e.g. if I have 3 categories like T-Shirts, Shoes and Hats and 3 photosets named T-Shirts, Shoes and Hats, could they be added to their respective pages?

I installed everything and configured it as described in manual. If i go to my website gallery i get:
Please wait, and I have waited 30 min but a set with just 2 photo’s must not load that long. What can I do to make this working?

Thanks. Just for reference for others, if you need to add it directly in the WYSIWIG content, add {{block type=”flickr/photosets” name=”flickrgalleycarousel” template=”inchoo/flickrgallery/carousel.phtml”}} instead.

By the way, thanks to Jorge Pomer for pointing out the problem with file names that solved the most common error people seams to get. I did fix this a while ago but Git haven’t registered the capitalization change in file names so I had to do it properly this time. Changes are submitted to GitHub.

Hello
When Activate admin link System > Config > Inchoo> Flickr havea error Fatal error: Call to a member function toOptionArray() on a non-object in /home/html/magento17a/includes/src/Mage_Adminhtml_Block_System_Config_Form.php on line 463

I am sorry but I cannot offer that kind of support right now. However you can post your problem here (errors, logs, …) so I can take a look. Alternatively, you can find me on Google plus if you don’t want to share your logs and other data with everyone (https://plus.google.com/u/0/104500404675619806351/).

Thank you all for the valuable feedback. I finally found some time to work on it so I changed the file and folder names to be uppercase which should make it work on UNIX based systems. You can update the code from github.

Gallery cannot be added to the CMS pages, only carousel can by adding the following line of code to your layout XML files or layout update:

for those who have installed in windows environment they should be having no issues.

@paul

Hello Paul,

also, check the system.log and logs in /report folder…. when I had fixed the path the admin interface ran fine but photosets were still not loading in the /gallery page…I figured it haven’t created the “flickr” table in magento database. So i had manually created it and it ran fine after that.

But client have another gallery installed and it outputs to the same /gallery url. Is there any way to change this extension’s output to some other custom link? or embed it in some CMS page?

It’s still not working under UNIX. In my previous comment those steps fixed the Inchoo Gallery configuration
System -> Configuration -> Inchoo -> Flickr Gallery

but the gallery itself isn’t working on mysite.com/gallery
the latest error in logfile says –

“2012-07-18T13:50:13+00:00 ERR (3): Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /home/maxbilt/public_html/app/code/core/Mage/Core/Model/Translate.php on line 564″

Figured it out by myself…its a very silly error but you guys should have checked it before uploading and it could have saved lots of time in troubleshooting.

I first tried it in my local windows machine and it ran out of the box but in unix file/folder names are case-sensitive.

Checking the log file and comparing the folder structure revealed that some files and folders under “/app/code/community/Inchoo/Flickr” had different letter cases. system.log file had lots of errors like file stream not found…

Mage::helper(‘unicache’)->cacheExpired([ITEM-NAME]);
Check if cached item with the specified [ITEM-NAME] has expired. Expired time is calculated by adding item timeout to the last updated time. If the expired time is greater than current time the function will return true, otherwise it will return true. If there is no cached item with the specified [ITEM-NAME] the function will return true.

SHOULD BE

Mage::helper(‘unicache’)->cacheExpired([ITEM-NAME]);
Check if cached item with the specified [ITEM-NAME] has expired. Expired time is calculated by adding item timeout to the last updated time. If the expired time is greater than current time the function will return true, otherwise it will return false. If there is no cached item with the specified [ITEM-NAME] the function will return false.

Your email address will not be published. Required fields are marked *

Comment *

You may use these HTML tags and attributes: <a href="" title=""> <blockquote cite=""> <code> <del datetime=""> <em> <s> <strike> <strong>. You may use following syntax for source code: <pre><code>$current = "Inchoo";</code></pre>.