We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

eeFlickr : Flickr photo gallery

Development and Programming

lumis's avatar
lumis
119 posts
17 years ago
lumis's avatar lumis

Cool glad it worked for you. i need to note not to use the call back URL in the doc’s

       
cfp700's avatar
cfp700
89 posts
17 years ago
cfp700's avatar cfp700

I have my API key, and I’ve loaded the three required files by FTP to my server.

I have installed eeFlickr in the Modules panel.

Just having a problem with the tags.

What tag do I use to display a set called (for example) “hambone’?

       
lumis's avatar
lumis
119 posts
17 years ago
lumis's avatar lumis

each photoset has a ID so you would use that http://www.lumis.com/eeflickr/tag/photosets_getphotos/

{exp:eeflickr:photosets_getPhotos  photoset_id="1813717" page="page1" per_page="30" }
    {eeflickr:photosets_getPhotos_loop} 
            {id}
            {secret}
            {server}
            {farm}
            {title}
            {isprimary}
            {datetaken}
            {datetakengranularity}
            {ownername}
            {iconserver}
            {iconfarm}
            {originalsecret}
            {originalformat}
            {lastupdate}
    {/eeflickr:photosets_getPhotos_loop} 
    {eeflickr:photosets_getPhotos_paging} 
        {page}
        {pages}
        {perpage}
        {total}
    {/eeflickr:photosets_getPhotos_paging}
{/exp:eeflickr:photosets_getPhotos}
       
lumis's avatar
lumis
119 posts
17 years ago
lumis's avatar lumis

I Posted this because it may help someone else

Hi, I’m new to expression engine but I think this is the module I need for what I’m trying to do. What I want to do is return a certain number of photos that have a certain tag applied to them. For example if the tag was “expressionengine” I would want to get 12 square images (random or most recent, doesn’t matter) of anyone’s photos tagged with “expressionengine”, regardless of user, group, set, or whatever. Any way that’s possible using your plugin? Thanks.

Flickr’s API does not do random so you have to sort with what is available in the below example i sorted by Interesting

{exp:eeflickr:photos_search  tags="expressionengine" page="{segment_2}" per_page="30" sort="interestingness-desc" }
    {eeflickr:photos_search_loop} 
        <img src="http://farm{farm}.static.flickr.com/{server}/{id}_{secret}_s.jpg" alt=""  />
        {if no_results}
          some text here
        {/if}
    {/eeflickr:photos_search_loop} 
    {eeflickr:photos_search_paging} 
               {exp:eeflickr:paginate page="{page}" pages="{pages}" perpage="{perpage}" total="{total}" max_links="2"}
                    Page {current_page} of {total_pages} pages 
                    {if current_page != "1"}{first_page_link} <a href="http://{prev_page_url}">« Previous</a>{/if}
                    {pagination_links}
                    {if current_page != total_pages}<a href="http://{next_page_url}">Next »</a> {last_page_link}{/if}
                {/exp:eeflickr:paginate}
    {/eeflickr:photos_search_paging}
{/exp:eeflickr:photos_search}
       
murtada's avatar
murtada
2 posts
17 years ago
murtada's avatar murtada

Hi,

I would like eeFlickr to show the latest sets that were posted, but am having a couple of issues:

1) There does not seem to be paging available for the photosets_getlist function

2) I also am not sure how to show just the last set.

Thanks!

       
murtada's avatar
murtada
2 posts
17 years ago
murtada's avatar murtada

as well, I was wondering if it’s possible to have photosets_getPhotos within photosets_getList.

This way, I can feed all the sets as well as their pictures to an ajax slideshow player.

       
textdriven's avatar
textdriven
107 posts
17 years ago
textdriven's avatar textdriven

This module doesn’t produce any output for me.

I’ve installed it correctly but when I try to use the tags in a template nothing is output. I’ve tried different examples in the documentation and my own trials but it’s just blank output.

eeFlickr 0.6.7 ExpressionEngine 1.6.3 Build: 20080421

Looking like an excellent plguin. I look forward to getting it fixed.

       
arano's avatar
arano
4 posts
17 years ago
arano's avatar arano

Just a quick question, I had a look over the documentation but could not find an answer,

Does eeFlickr enable you to pull in the EXIF data from an image? Or should I say the EXIF data that flickr has on the image

       
Andy Harris's avatar
Andy Harris
958 posts
17 years ago
Andy Harris's avatar Andy Harris

Another excellent plugin for EE - it was an absolute breeze to get this up and running, cheers.

Shame I can’t return random images, but that’s not your doing.

       
Nathan Pitman's avatar
Nathan Pitman
531 posts
17 years ago
Nathan Pitman's avatar Nathan Pitman

From the docs I’m in love already but I can’t get the module firing on all cylinders. I’ve added my Flickr API key in the module CP and have the relevant tags in my template”



But I get the error…

Notice: unserialize() [function.unserialize]: Error at offset 0 of 22 bytes in /home/*******/public_html/admin/modules/eeflickr/mod.eeflickr.php on line 163

Any ideas? I’ve tried clearing the cache, checking folder permissions etc…

       
Nathan Pitman's avatar
Nathan Pitman
531 posts
17 years ago
Nathan Pitman's avatar Nathan Pitman

Ah, I have the wrong value under user_id, I eventually realised that but I still get the same PHP error and no photos…

Worth knowing that you can find your ‘NCID’ here: http://www.flickr.com/services/api/explore/?method=flickr.people.getInfo

       
Nathan Pitman's avatar
Nathan Pitman
531 posts
17 years ago
Nathan Pitman's avatar Nathan Pitman

Ah, might have helped if I had included a content_type parameter! All working now!

       
aircrash's avatar
aircrash
293 posts
16 years ago
aircrash's avatar aircrash

I just came back to a project I started with this module about 6 months ago. I forgot how much I liked it, and it seems it’s gotten even better.

Just a quick question, though:

Is there a way to show a comment author’s user icon when using comments_getList ?

       
Ric's avatar
Ric
49 posts
16 years ago
Ric's avatar Ric

This plug-in is very well done Lumis, congratulations on the hard work you have put into it. I’m looking forward to using it further.

       
aircrash's avatar
aircrash
293 posts
16 years ago
aircrash's avatar aircrash

I’m having problems getting the {if no_results} tag to work. Here is my code:

{exp:eeflickr:photos_search machine_tags="tcn:project={entry_id}" per_page="1" extras="owner_name,machine_tags"}
{eeflickr:photos_search_loop}
<img src="http://farm{farm}.static.flickr.com/{server}/{id}_{secret}_t.jpg" alt=""  />
{if no_results}images/global/none.gif{/if}
{/eeflickr:photos_search_loop}
{/exp:eeflickr:photos_search}

It works fine when there is a result, but if there is no photo, it doesn’t display anything.

       
First 5 6 7 8 9 Last

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.