diff options
-rw-r--r-- | apps/photos/retriever.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/photos/retriever.py b/apps/photos/retriever.py index f7114fd..40de591 100644 --- a/apps/photos/retriever.py +++ b/apps/photos/retriever.py @@ -174,9 +174,11 @@ def slideshow_image(photo): filename = '%s/%s.jpg' %(slide_dir, photo.flickr_id) img.save(filename) photo.slideshowimage_width = photo.get_width + print photo.get_width, photo.slideshowimage_width photo.slideshowimage_height = photo.get_height photo.slideshowimage_margintop = photo.get_margin_top photo.slideshowimage_marginleft = photo.get_margin_left + photo.save() def make_local_copies(photo): orig_dir = settings.IMAGES_ROOT + '/flickr/full/'+ photo.pub_date.strftime("%Y") |