google-code-export / django-syncr

Automatically exported from code.google.com/p/django-syncr
0 stars 0 forks source link

[enhancement] Extra picasaweb album feed options #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This enhancement patch is for the picasaweb extension.  This minor change
allows a couple of extra options to be added to the album feed url.  These
options are set in the user's settings.py, and read from the
syncr.app.picasaweb module.

These settings are described by Google here:
http://code.google.com/apis/picasaweb/reference.html#Parameters

1.) PICASA_THUMBSIZES: Google allows the feed invoker to specify the sizes
of the thumbnails provided.  One major advantage to this is that you can
have google crop the images to a square, which makes them easier to use as
thumbnails.  In the settings.py file, the PICASA_THUMBSIZES setting should
be set as a tuple of three sizes, such as: ( '72c', '160c', '288',)

2.) PICASA_IMGMAX: Google prevents the full-size content_url from being
linked directly from a web page using the <img> tag.  Google allows the
content_url to be used if the 'imgmax' option is set on the feed url to an
appropriate value.  According to Google, you should be able to embed a size
of up to 800.

Original issue reported on code.google.com by brandon....@gmail.com on 30 Jun 2009 at 5:16

Attachments:

GoogleCodeExporter commented 9 years ago
This is a patch against trunk r90, by the way,  Thanks!

Original comment by brandon....@gmail.com on 2 Jul 2009 at 10:37

GoogleCodeExporter commented 9 years ago
Thanks for the update! I patched it into r92 and noted your contribution in the 
changelog. I added some of your 
documentation from this ticket at the site of the code, too.

Original comment by jesse.l...@gmail.com on 7 Jul 2009 at 9:01