Behind the scenes: photo sharing on SkyDrive

    Behind the scenes: photo sharing on SkyDrive


    Posted: 23 Mar 2010
    When we launched Windows Live SkyDrive in August of 2007, we had the clear goal to make sharing easier and better for anybody on the Internet. But offering free storage to the world is a risky proposition – the list of services that have tried to do this and failed is long. So we took it slow, starting only in the US, offering just 500MB of storage at first, and focusing on a basic experience for uploading files. Over time, as we learned more about usage (and learned more about how to thwart various types of scammers and other evil people), we were able to increase the free storage, first to 1 GB, then 5 GB, and finally about a year ago to 25 GB of free storage. We were also able to expand into new markets. Today we’re in over 50 languages worldwide and more than 50% of our customers come from outside the US.

    Of course, “making sharing easier and better” is a broad goal – and we’re not going to achieve it overnight. So, after getting the basic infrastructure built, we turned our energy to sharing photos. Looking around the Internet, it seemed like every week there was a new website or application that helped people share photos. Many of these services came and went, while a select few have managed to stay around. We thought that the last thing the world needed was another “me too” photo sharing service, so we chose to focus on a few unique scenarios:


    • Enabling the highest quality photo sharing possible
    • Fixing the problems inherent in group activities – where lots of people take photos and want to share them together – like birthdays or football games
    • Giving easy and complete control over privacy – who can view and edit your photos

    I’ll take you through these one by one and talk a bit about how they work.

    High quality photo sharing

    People have lots of choices for sharing photos, but sometimes you really want to share photos using the highest possible resolution, for printing or just to store a permanent copy of the original. Most of the time, users are just quickly sharing photos, so by default we resize photos to 1600x1600 pixels, allowing them to upload more quickly. But when you want to, you can easily choose to upload the original files (up to 50 MB per file).

    From the customer side, it looks easy, as it should. But behind the scenes, there's a lot more going on.

    First, because your memories are priceless, every time you upload a photo, we actually store four copies of it on our servers. Hardware failures are extremely rare, but because we're storing billions of photos, even extremely rare things happen occasionally. Multiple copies of each photo allow us to quickly recover when these infrequent events occur – you simply never need to worry about this. Of course, these four copies don’t count against your free 25 GB.

    It’s great that you can upload huge photos, but we want your web experience to be lightning fast, so the next thing we do after making sure we have four safe copies of each photo is create nine smaller versions of each photo, which we use for everything from thumbnails to large slideshows. Here is how that breaks down.

    We create six smaller versions that preserve the aspect ratio of the photo (so the photo stays portrait or landscape just like you took it).


    • 800 x 600 px max. - for web slideshows
    • 600 x 450 px max. - for single photo view
    • 320 x 320 px max. - for large mobile phones
    • 176 x 176 px max. - for small mobile phones
    • 96 x 96 px max. - large thumbnails for the web
    • 48 x 48 px max. - small thumbnails for the web

    We also create three smaller versions where we use some smart code from Microsoft Research to do a square crop that contains the more interesting part of the picture. We use these in places where a square thumbnail makes for a prettier and more usable layout (like the big list of photos inside of a photo album).

     

    These sizes are:


    • 213 x 213 - large square thumbnails
    • 104 x 104 - medium square thumbnails
    • 48 x 48 - small square thumbnails

    So every time you upload a photo, we actually store four copies of every original, plus nine additional sizes (none of which count against your 25 GB of storage, of course).

    Group activities

    The next thing we focused on is a classic problem that many of you have probably encountered. You go to a party (or football game or weekend trip with some friends) and afterwards you want to share your photos with them, but you also want to get their photos. People we talked to in our research told us that they usually handled this is by trading memory sticks or trying to remember to email each other with photos. But there's got to be a better way, right?

    So we made it super easy in SkyDrive to give other people permission to add photos to a shared album. Now all you have to do is create the album, and then when you share that album with friends, give those same friends permission to add photos. Now everybody can add their own photos and tags, and comment on the shared collection. When you’re done, you can download all the original quality photos in a single ZIP file, or you can import them directly into Windows Live Photo Gallery.

    And of course because you can share high resolution photos – you never have to send email to a friend asking them to send you the original of that great picture of you from your ski trip. You already have it. And if you are a photography geek and like taking photos in RAW mode (a special mode unique to each camera that has higher quality) you can upload those RAW files in addition to the normal JPG files.  



    Privacy

    Of course none of this matters if you aren’t in control of your stuff. People are increasingly concerned about privacy on the Internet, particularly with photos. So we’ve focused on giving you all the control – and at the same time making it super simple to create and share with the people you want.

    Whenever you create a photo album you can easily choose who has access to your albums. We have easy default options for who can see the album: just you, your entire network, or everyone (public). In addition, you can also easily choose individual people (regardless of their email address) and we will give just those people access to the album.



    And when you give people access, you have a lot of control over what kind of access they have – for example, you can make everything read-only, or allow people to add and delete photos. And you can control whether people can add comments and people tags as well.

    These options help you make sure you're never surprised by who can see or modify your photos – you're always in control.

    Adding it all up

    We’ve had a lot of fun building SkyDrive so far. We’ve been thrilled to have so many of you find and use SkyDrive. To give you a taste, in the last year we’ve had a little more than 2 billion photos uploaded to SkyDrive and shared with hundreds of millions of people. On a normal day we usually see between 4 and 5 million unique photos! And when you remember that we turn each of those photos into four full-resolution copies and then nine additional smaller versions – that’s around 65 million photos per day that we store for you.

    Of course, we have lots more ideas about photos - including some neat things we’ll announce in the coming months. Plus, for the last six months we’ve been running a technical preview for Office Web Apps on SkyDrive– if you haven’t seen it yet, check it out. This is just the tip of the iceberg for storing documents on SkyDrive – we’ve got a lot more coming.  But I’ll save that for a future post.

    Thanks,

    Eric Doerr
    Group Program Manager
    Windows Live SkyDrive, Sync, and sharing


    More...
    z3r010's Avatar Posted By: z3r010
    23 Mar 2010



 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 13:27.
Find Us