Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

Commit

Permalink
Merge pull request #37 from theonion/override-image-url
Browse files Browse the repository at this point in the history
Allow override of base image url
  • Loading branch information
csinchok committed Oct 7, 2014
2 parents 2880082 + 7bcd393 commit fc46c66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion betty/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

from .celery import app as celery_app # noqa

__version__ = "0.2.11"
__version__ = "0.2.12"
2 changes: 1 addition & 1 deletion betty/cropper/templates/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* We can request an image at every possible width, but let's limit it to a reasonable number
We can set these so they correspond to our more common sizes.
*/
var IMAGE_URL = "{{ BETTY_IMAGE_URL }}",
var IMAGE_URL = w.BETTY_IMAGE_URL || "{{ BETTY_IMAGE_URL }}",
RATIOS = {{ BETTY_RATIOS|safe }},
ASPECT_RATIO_TOLERANCE = .1, // 10% tolerance.
breakpoints = [{{ BETTY_WIDTHS|join:","}}];
Expand Down

0 comments on commit fc46c66

Please sign in to comment.