eeFlickr : Flickr photo gallery
Grad Student
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
Grad Student
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’?
Grad Student
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
Grad Student
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
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!
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.
Lab Assistant
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.
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
Research Assistant
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
Research Assistant
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
Research Assistant
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
Lab Assistant
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
Lab Assistant
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.
Lab Assistant
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
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
Posted: 11 September 2008 09:25 AM
[ Ignore ]
[ # 107 ]
Lab Assistant
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
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.