phpflickr

phpFlickr and getting images from Flickr

Hiya, I'm trying to pull in images from Flickr using the phpFlickr library but the docs seem to be quite vague and the results aren't as good as i would like, i wonder if anyone can shed some light on my code (maybe i'm using the wrong syntax?). It works for some queries mainly 1 word queries, i.e. if i send the $tag "inter" it will fi...

Issue when using phpflickr.

I use phpFlickr (last stable version) on Windows Vista and WAMP2.0 : and I have these : Strict Standards: Assigning the return value of new by reference is deprecated in .../phpFlickr.php on line 91 Strict Standards: Assigning the return value of new by reference is deprecated in .....phpFlickr.php on line 330 Strict Standards: Assig...

flickr api advice

Hi There, I am working with the API from flickr trying to get my photosets into my site, my problem is I am wanting to only show the primary image for each set but current it is showing all the images from each of my sets. Can anyone see where I am going wrong? <?php $f = new phpFlickr(FLICKR_API_KEY); $f->enablecache("fs", $...

Using phpFlickr, how would one display the primary photo from each photoset?

Referring to this question: http://stackoverflow.com/questions/2561475/flickr-phpflickr-api how would you display a primary photo from a photoset rather than all photos and photosets? this is the code I have so far: <?php require_once("phpFlickr/phpFlickr.php"); $f = new phpFlickr("[APIKEY]"); $user = "xxxxxxxx@xxx"; $count = 1; $phot...

phpFlickr: how do you determine the width of an image and resize it accordingly?

Using phpFlickr, I need to have 100x100 square thumbnails coming from Flickr. The problem I'm having is that using a larger size via the API such as the Small, the vertical oriented images will be distorted when resized to 100x100. I was using CSS to do this. How can I distinguish between the vertically or horizontally oriented images b...

Display collections on my website using Flickr API

Hello everyone, I have been looking for a long time where I could find a php script using phpflickr class (or not) in order to display collections (titles, images or both) on my website. I can't find any. If anyone has idea... Thanks in advance. Regards, Pico ...

How do I directly upload a file stream to Flickr using a CURL POST?

I'm writing a web app that at one point allows a user to upload a photo to a flickr account (mine). I want to do this without saving the intermediate image on the server my web app is on. What I've got so far is a page which implements phpFlickr and accepts a POST from a simple html form. I use $_FILES['file']['tmp_name'] as the path f...

phpFlickr Caching to Filesystem or MySQL?

Are you supposed to be able to see distinct filenames via phpFlickr's caching to filesystem or MySQL? I've set the parameters as listed in the readme, but caching does not seem to generate any files or mysql table rows. I've tried both the filesystem (chmod 777 in cache folder) and mysql method (manually created cache table). Any advic...

How can I use phpFlickr in Kohana

Hi everyone ! I'm beginning a website using Kohana Framework, and I couldn't find how to include external libraries "the proper way". I want to use the phpFlickr library to allow my website to interact with flickr, and I was wondering if there was a better way to include the files than : require_once("path/to/phpFlickr.php"); // Fire u...