7 of 7
7
eeFlickr : Flickr photo gallery
Posted: 24 September 2008 10:25 AM   [ Ignore ]   [ # 109 ]  
Summer Student
Total Posts:  10
Joined  08-07-2008

I cannot get the no_results tag to work. The rest of the module is working fine, but if there are no results, nothing is returned.

{eeflickr:photos_search_loop}
<img src="http://farm{farm}.static.flickr.com/{server}/{id}_{secret}_m.jpg" alt="test" />
{if no_results}
<img src="/img/nopic.gif" alt="no picture" />
{/if}
{
/eeflickr:photos_search_loop}

Profile
 
 
Posted: 28 September 2008 01:41 AM   [ Ignore ]   [ # 110 ]  
Grad Student
Rank
Total Posts:  41
Joined  05-15-2008

Nice plugin. Is there a way to setup pagination for the template that displays the larger, single image? Someway so the user can click NEXT or BACK to see the next/previous image?

Thanks!
Manoj

Profile
 
 
Posted: 08 October 2008 08:36 PM   [ Ignore ]   [ # 111 ]  
Summer Student
Total Posts:  10
Joined  08-07-2008

Ok, I actually figured out my problem. I’m not sure exactly why this happens, but the eeflickr {if no_results} only worked for me if I already had an {if no_results}  for the ee:weblog:entries tag. Once I put that in, the tag worked perfectly.

Profile
 
 
Posted: 22 October 2008 08:27 PM   [ Ignore ]   [ # 112 ]  
Grad Student
Rank
Total Posts:  62
Joined  11-27-2007

I posted this elsewhere but haven’t had a response yet - this thread is probably a better option:

I have this working to pull a list of sets using my user ID, however I’m not having any luck pulling the thumbnails when viewing individual sets.  The following code pulls the names of all the images in the set fine, but the img src link doesn’t generate properly - it can’t seem to pull the {primary} tag, despite this getting pulled down fine when I list set thumbnails.  The image URLs all read like this:

http://farm1.static.flickr.com/223/{primary}_eee087331e_s.jpg

Code is as follows:

{exp:eeflickr:photosets_getPhotos photoset_id="72157600160740009"}
{eeflickr
:photosets_getPhotos_loop}
<div style="float:left; text-align:center; height:80px; width:80px; overflow:hidden;">
{title}<a href="#"><img src="http://farm{farm}.static.flickr.com/{server}/{primary}_{secret}_s.jpg" alt="" /></a>
</
div>
{/eeflickr:photosets_getPhotos_loop}
{
/exp:eeflickr:photosets_getPhotos}

Any ideas?

Profile
 
 
Posted: 22 October 2008 11:50 PM   [ Ignore ]   [ # 113 ]  
Grad Student
Avatar
Rank
Total Posts:  98
Joined  03-10-2005

vanquished
{primary} is not part of the exp:eeflickr:photosets_getPhotos tag
you will need to use the exp:eeflickr:photosets_getInfo tag to get at the primary image

something like this should work for you

{exp:eeflickr:photosets_getInfo  photoset_id="72157600160740009"}
<div style="float:left; text-align:center; height:510px; width:510px; overflow:hidden;">
{title}<a href="#"><img src="http://farm{farm}.static.flickr.com/{server}/{primary}_{secret}.jpg" alt="" /></a><br />
{description}
</div>
{/exp:eeflickr:photosets_getInfo}

{exp
:eeflickr:photosets_getPhotos photoset_id="72157600160740009"}
{eeflickr
:photosets_getPhotos_loop}
<div style="float:left; text-align:center; height:100px; width:100px; overflow:hidden;">
<
h1 style="white-space:nowrap; font-size:9px; margin:0px;">{title}</h1>
<
a href="#"><img src="http://farm{farm}.static.flickr.com/{server}/{id}_{secret}_s.jpg" alt="" /></a>
</
div>
{/eeflickr:photosets_getPhotos_loop}
{
/exp:eeflickr:photosets_getPhotos}

 Signature 

David Rencher
lumis.com
Image Sizer
eeFlickr
Photos

Profile
 
 
Posted: 23 October 2008 12:04 AM   [ Ignore ]   [ # 114 ]  
Grad Student
Avatar
Rank
Total Posts:  98
Joined  03-10-2005

manoj382

yes you would want to use the exp:eeflickr:photos_getContext tag this creates paging for a individual photo

{exp:eeflickr:photos_getInfo photo_id="{segment_3}"}
<img src="http://farm{farm}.static.flickr.com/{server}/{id}_{secret}.jpg" alt="{title}" />

{exp:eeflickr:photos_getContext photo_id="{id}"}
    {if prevphoto_id}
        
<a href="/{segment_1}/{segment_2}/{prevphoto_id}/"><img src="{prevphoto_thumb}" alt="{prevphoto_title}" /></a>
    
{/if}
    {if nextphoto_id}
        
<a href="/{segment_1}/{segment_2}/{nextphoto_id}/"><img src="{nextphoto_thumb}" alt="{nextphoto_title}" /></a>
    
{/if}
{
/exp:eeflickr:photos_getContext}

{
/exp:eeflickr:photos_getInfo}

 Signature 

David Rencher
lumis.com
Image Sizer
eeFlickr
Photos

Profile
 
 
Posted: 23 October 2008 12:19 AM   [ Ignore ]   [ # 115 ]  
Grad Student
Avatar
Rank
Total Posts:  98
Joined  03-10-2005

aircrash
you would need to user the exp:eeflickr:people_getInfo tag inside the exp:eeflickr:comments_getList tag

{exp:eeflickr:comments_getList  photo_id="{segment_3}"}
<div>

{authorname}<br />

{exp:eeflickr:people_getInfo  user_id ="{author}"}
    
<a href="{profileurl}">
        
{if iconserver}
            
<img src="http://farm{iconfarm}.static.flickr.com/{iconserver}/buddyicons/{nsid}.jpg" alt="{username}" />
        
{if:else}
            
<img src="http://l.yimg.com/g/images/buddyicon.jpg" alt="{username}" />       
        
{/if}    
    
</a>
{/exp:eeflickr:people_getInfo}

    {comment}
    
</div>       
{/exp:eeflickr:comments_getList}

 Signature 

David Rencher
lumis.com
Image Sizer
eeFlickr
Photos

Profile
 
 
Posted: 04 November 2008 09:00 AM   [ Ignore ]   [ # 116 ]  
Summer Student
Total Posts:  26
Joined  12-16-2007

Hi,

I’m trying to use a global variable for the user_id {flickr_account), but this doesn’t seem to work. Any idea what I’m doing wrong?

{exp:eeflickr:photosets_getList user_id="{flickr_account}"}
{photos}
<br />
{title}<hr />
{/exp:eeflickr:photosets_getList}

Profile
 
 
Posted: 11 November 2008 02:38 AM   [ Ignore ]   [ # 117 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  879
Joined  05-14-2004

Hey Lumis.

I’m still in the early stages of figuring this all out. I’ve used EEFlickr to make a mini gallery for a wedding I’ve shot but I’d like to use it for my whole website but I’m figuring out how to organise Flickr to get the best out of it.

Looking through your docs it’s very easy to grab sets but what about collections?

I’m imagining having collections such as “Music” “Nature” “Events” and then having Sets under them such as “Explosions in the Sky” ““London Zoo” etc etc

So basically using Collections as my top level Categories and Sets as my sub-level categories.

All this boils down to a simple is this possible?

Well a quick look at the Flickr API docs it would appear there is not collections tags… But a lot of people asking for them…

In that case how do we organise our photos into Top level Categories?

Profile
 
 
Posted: 11 November 2008 01:09 PM   [ Ignore ]   [ # 118 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  879
Joined  05-14-2004

Well as Flickr seem to not be bringing collections to the API I’ve been looking around how people have been getting around it with their sets.

Now what I’ve found is the suggestion to use a Sets description field to insert a formatted description (for lack of a better word) that could then be used for filtering.

The example I’ve found is http://www.imagicweb.com/flickrsite/ but he doesn’t go into detail about how to limit it. and the site is in Italian so I might be losing it slightly…

The other way I’m thinking of is using a specific tag and calling that tag. But it would have to be on only one photo per set and we’d have to be able to link to the rest of the set on the next page.

Ah but we only have

# exp:eeflickr:tags_getListPhoto
# exp:eeflickr:tags_getListUserRaw

Which only give tag lists from photos/user not photos from tags.

But flickr.photos.search allows us to search via a tag. So can we get the set from a photo and link to said set…

Hmm I think I need to get some thinking going on and work out some “collection” tags and see if the search works the way i hope it works…

If anyone else reading this would like collections within the api maybe you can lend some weight to this thread…

http://tech.groups.yahoo.com/group/yws-flickr/message/4523

and we’ll see if we ever get a reply.

Profile
 
 
Posted: 30 November 2008 11:37 AM   [ Ignore ]   [ # 119 ]  
Summer Student
Total Posts:  1
Joined  11-29-2008

hiya
i’ve installed eeflickr, and it’s working perfectly (amazing job on this one).
i’m using the plugin to pull galleries dynamically on individual posts based on a custom field - that (again) is working perfectly.

I can’t display the title though - it’s only displaying the title of the post, not the image. ownername works, as do all the fields i need to build the image tags, just not title.

i’m just wondering if the tag has changed or if there’s an issue using it within a template?

i’m new to EE, but I can’t get it to work as a standalone embedded template (i’m guessing as the custom field that’s used to build the search tag doesn’t get passed).

any help would be appreciated.

my code is here:

{exp:eeflickr:photos_search  tags="{flickr_search}" tag_mode="all" per_page="10" refresh="1" extras="owner_name"}
{eeflickr
:photos_search_loop}
<div style="float:left; text-align:center; height:80px; width:80px; overflow:hidden;" class="flickr_thumb"><a href="http://farm{farm}.static.flickr.com/{server}/{id}_{secret}.jpg" title="{title} by {ownername}"  rel="{url_title}"><img src="http://farm{farm}.static.flickr.com/{server}/{id}_{secret}_s.jpg" alt="" title="{title} by {ownername}" /></a>
</
div>
{/eeflickr:photos_search_loop}
{
/exp:eeflickr:photos_search}

Profile
 
 
Posted: 01 December 2008 07:38 AM   [ Ignore ]   [ # 120 ]  
Lab Assistant
RankRank
Total Posts:  172
Joined  06-18-2007

Just posting this for everybody’s information.

The text=”” parameter on eflickr:photos_search, which does a full text search on Flickr, was not working with more than one word. For “Joe Soap”, it would search Joe OR Soap, not Joe AND Soap. This was to do with the URL encoding.

At around line 1679 add the following:

if($key == "text")
     
{
     $value
= urlencode($value);
   
}

Profile
 
 
   
7 of 7
7
 
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: 44
Total Topics: 82117 Total Anonymous Users: 19
Total Replies: 441316 Total Guests: 212
Total Posts: 523433    
Members ( View Memberlist )