Custom image size from flickr api

flickr

is there a way how to get images from flickr api with custom width/height? I found only standard function flickr.photos.getSizes, but this functions returns only predefined sizes. Thank's

Best Solution

As far as I know it's not possible to have flickr resize the photos for you (except for the default options) Depending on the system you are building there are a couple of options:

  • use one of the flickr provided sizes ... ;-)
  • If you are using HTML: resize the image in the browser by setting the width and the height of the image (make sure you enable the right settings in IE for maximum viewing pleasure: http://code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/)
  • If you are using flash resizing the image should not be a big issue
  • If you have a php or java (or any other language really) backend you can use that to scale the image.

Also: check http://www.flickr.com/groups/api and http://tech.groups.yahoo.com/group/yws-flickr/

Related Question