straup/collection — comment on commit 0b75be025f3f14103f5ad6935b16772188f1c2d7
File: bin/add_media.py line 28
By straup:

Okay, I've updated all the records as follows based on your comments:

--

fname = row['filename']

if obj_data.get('media_id', False) and obj_data['media_id'] != '':

fname = obj_data['media_id'] + ".JPG"

obj_data['thumbnail'] = 'http://data.cooperhewitt.org/media/350/' + fname

--

I've noticed that everything seems to be 404-ing now; both the new
(data.CH) and old (AWS CDN) URLs.

Like I said, a pull request from github.com itself is almost certainly
going to time out so I'm not sure how best to proceed...

On 2/27/12 11:01 AM, Micah Walter wrote:
> FYI - I have enabled CloudFront so all media is available at
> http://data.cooperhewitt.org/media/350/filename.jpg -- If you want me
> to pull in your changes, send me a pull request when you are ready...
> thanks so much!
>
> --- Reply to this email directly or view it on GitHub:
> https://github.com/straup/collection/commit/0b75be025f3f14103f5ad6935b16772188f1c2d7#commitcomment-1016505
>