Davide Cassenti

Davide Cassenti

Gentleman and Scholar Software Developer

Posts Tagged ‘flickr’

Flickr Pink 2008

Saturday, October 11, 2008

“Pink is my new obsession„ were singing Aerosmith: and pink is the theme of the initiatinve Pink 2008 promoted by Flickr. Here’s the description of the group:


October is Breast Cancer Awareness month and if you add your pink photos to this group you can help to raise up to €30,000 for local charities.

For each pink photo you add to www.flickr.com/groups/pink2008, Yahoo! for Good will donate €1, up to a maximum of €30,000. We will split the total equally between 5 charities in UK, Germany, France, Spain and Italy.

  • In the UK Cancer Research UK will use this donation to fund breast cancer research.
  • In Germany Deutsche Krebshilfe will use this donation to fund a breast cancer project.
  • In France Association Le Cancer du sein, parlons en ! will use this donation to fund screening.
  • In Spain FEFOC will use this donation to fund information about prevention and detection.
  • In Italy LILT will use this donation to fund breast cancer research.

You can add 5 pink photos a day during October, so please think about making a month long commitment to sharing your pink photos!


It’s a very nice initiative: I’ve posted some photos in the group and some of them can be seen here:

I found your camera

Saturday, August 2, 2008

While we were in Roma for holidays, my friend lost her digital camera: we are still trying to find it and, searching online, I have found an interesting website: http://ifoundyourcamera.blogspot.com/. I think the idea is pretty nice: anyone who found a camera, or a memory card, somewhere in the World can send some of the pictures to the webmaster of the site and they will be posted online, so that the owner of the camera can, hopefully, find them.

I decided to make a similar Flickr group: I am waiting the answer from the site’s owner in order to connect the group to the site; it is so sad, in my opinion, to lose the camera after a trip, and more to lose the photos in it: you can always buy a new camera, but nobody can give you back the beautiful pictures. Or maybe, now someone could.

Upload to Flickr with Python

Saturday, July 19, 2008

Today I have found an interesting python script that allows you to upload photos from a local directory to Flickr; I decided to modify it and post here my modifications. The original script can be found here.

The script is pretty easy to use: it searches image files in a given directory, check an history file in order to know if the photo has been already uploaded, and if it is not the case, upload it on flickr; it is possible to specify if the photo needs to be public, private or shared, which tags assign to it and which name/description add.

The only thing I didn’t like was the way used by the script to know if the file was been already uploaded: simply, only the file name was used; I decided to change the script in order to allow to rename or move the photos inside the same directory (and sub directories) that uploadr.py is checking: to do so, I use the md5 digest of the image file as key in the history file. Another little thing I have added, is a lock file: if the script is already running it will exit with an error message on the screen.

…no, it is not finished: click here to read the rest of the post!