6 of 7
6
eeFlickr : Flickr photo gallery
Posted: 29 May 2008 10:50 PM   [ Ignore ]   [ # 91 ]  
Grad Student
Avatar
Rank
Total Posts:  98
Joined  03-10-2005

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

 Signature 

David Rencher
lumis.com
Image Sizer
eeFlickr
Photos

Profile
 
 
Posted: 03 June 2008 01:36 PM   [ Ignore ]   [ # 92 ]  
Grad Student
Avatar
Rank
Total Posts:  69
Joined  02-01-2008

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’?

Profile
 
 
Posted: 03 June 2008 04:57 PM   [ Ignore ]   [ # 93 ]  
Grad Student
Avatar
Rank
Total Posts:  98
Joined  03-10-2005

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}

 Signature 

David Rencher
lumis.com
Image Sizer
eeFlickr
Photos

Profile
 
 
Posted: 03 June 2008 10:29 PM   [ Ignore ]   [ # 94 ]  
Grad Student
Avatar
Rank
Total Posts:  98
Joined  03-10-2005

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="{prev_page_url}">&laquo; Previous</a>{/if}
                    {pagination_links}
                    {if current_page
!= total_pages}<a href="{next_page_url}">Next &raquo;</a> {last_page_link}{/if}
                {
/exp:eeflickr:paginate}
    {
/eeflickr:photos_search_paging}
{
/exp:eeflickr:photos_search}

 Signature 

David Rencher
lumis.com
Image Sizer
eeFlickr
Photos

Profile
 
 
Posted: 07 June 2008 10:58 PM   [ Ignore ]   [ # 95 ]  
Summer Student
Total Posts:  2
Joined  09-30-2007

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!

Profile
 
 
Posted: 07 June 2008 11:28 PM   [ Ignore ]   [ # 96 ]  
Summer Student
Total Posts:  2
Joined  09-30-2007

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.

Profile
 
 
Posted: 08 June 2008 04:43 AM   [ Ignore ]   [ # 97 ]  
Lab Assistant
RankRank
Total Posts:  281
Joined  12-09-2006

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.

Profile
 
 
Posted: 27 June 2008 09:43 PM   [ Ignore ]   [ # 98 ]  
Summer Student
Total Posts:  5
Joined  06-08-2007

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

Profile
 
 
Posted: 03 July 2008 08:28 AM   [ Ignore ]   [ # 99 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  884
Joined  02-15-2008

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.

 Signature 

Andy Harris | Pepper Digital | Malvern, UK | Twitter | New to ExpressionEngine? Start here!
Remember - If at first you don’t succeed, you’re not Chuck Norris

Profile
 
 
Posted: 17 July 2008 02:12 PM   [ Ignore ]   [ # 100 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  571
Joined  10-14-2005

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”

{exp:eeflickr:photos_search user_id="nathanpitman"}     
{eeflickr
:photos_search_loop}  
<div style="float:left; text-align:center; height:80px; width:80px; overflow:hidden;">
<
a href="/picture/{id}/"><img src="http://farm{farm}.static.flickr.com/{server}/{id}_{secret}_s.jpg" alt="{title}"></a>
</
div>
{/eeflickr:photos_search_loop}
{
/exp:eeflickr:photos_search}

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…

 Signature 

Nathan Pitman

Nine Four Ltd - a member of the EEPro Network

Profile
 
 
Posted: 17 July 2008 02:17 PM   [ Ignore ]   [ # 101 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  571
Joined  10-14-2005

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

 Signature 

Nathan Pitman

Nine Four Ltd - a member of the EEPro Network

Profile
 
 
Posted: 18 July 2008 01:13 PM   [ Ignore ]   [ # 102 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  571
Joined  10-14-2005

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

 Signature 

Nathan Pitman

Nine Four Ltd - a member of the EEPro Network

Profile
 
 
Posted: 18 August 2008 08:11 PM   [ Ignore ]   [ # 103 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  292
Joined  02-03-2005

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 ?

 Signature 

Artificial Memory

Profile
 
 
Posted: 19 August 2008 09:54 AM   [ Ignore ]   [ # 104 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  103
Joined  07-09-2002

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.

 Signature 

It’s the strangest thing. Yesterday, it was hard, today, it is easy. Just a good night’s sleep, and yesterday’s mysteries are today’s masteries.

Profile
 
 
Posted: 28 August 2008 07:06 PM   [ Ignore ]   [ # 105 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  292
Joined  02-03-2005

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 class="project-icon" src="http://farm{farm}.static.flickr.com/{server}/{id}_{secret}_t.jpg" alt="{title}" title="Photo by {ownername}">
{if no_results}<img class="project-icon" src="images/global/none.gif" alt="">{/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.

 Signature 

Artificial Memory

Profile
 
 
Posted: 11 September 2008 08:06 AM   [ Ignore ]   [ # 106 ]  
Summer Student
Total Posts:  24
Joined  10-04-2007

Lumis,

again a great extension. But we are being a bit dim here. We have the Flickr api talking to EE, and we have started putting tags into a template, and have managed to pull info in from a PhotoSet.

Here’s the really embarrasing bit.

We can’t dispaly any pictures.

The only information displaying on the page, is the file name, for all of the images in the PhotoSet. We are also getting the EEFlickr tags repaeting on the page as well.

Is there a tag to display either phots or thumbnails, or is there something up with our config?

Many thanks
Antony

Profile
 
 
Posted: 11 September 2008 09:25 AM   [ Ignore ]   [ # 107 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  292
Joined  02-03-2005

Antony,

It sounds like you aren’t building your image tags properly. The plugin gives you tags for pieces of the image tag, but you have to use them to build the actual tag yourself. This way, you can control what photos are displayed by the way you build your image tags. For example, here is the code I use to display a list of thumbnails (note the “_t” in the image url:

{exp:eeflickr:photos_search per_page='9' user_id='{flickr-id}' extras='owner_name'}
<ul class="thumbnails">
    
{eeflickr:photos_search_loop}
    
<li class="meta"><a href="{path={embed:path}}" title="Photo by {ownername}"><img src="http://farm{farm}.static.flickr.com/{server}/{id}_{secret}_t.jpg" alt="{title}" /></a>
    
{/eeflickr:photos_search_loop}
</ul>
{/exp:eeflickr:photos_search}

The thumbnails link to another template that uses this code to display the larger image:

{exp:eeflickr:photos_getInfo photo_id="{photo_id}"}
<a href="http://www.flickr.com/photos/{nsid}/{id}/" title="View this photo on Flickr"><img src="http://farm{farm}.static.flickr.com/{server}/{id}_{secret}.jpg" alt="{title}" /></a>
{/exp:eeflickr:photos_getInfo}

Hopefully, this helps to clarify things a bit. If not, can you post a sample of the code you are using that you are having trouble with?

 Signature 

Artificial Memory

Profile
 
 
Posted: 12 September 2008 02:52 AM   [ Ignore ]   [ # 108 ]  
Summer Student
Total Posts:  24
Joined  10-04-2007

Air Crash,

now it makes sense. We’re now getting images displaying, and can target a particular group we run, changing the user_id to group_id.

Thank you.

Profile
 
 
   
6 of 7
6
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 65027 Total Logged-in Users: 43
Total Topics: 82117 Total Anonymous Users: 22
Total Replies: 441315 Total Guests: 213
Total Posts: 523432    
Members ( View Memberlist )