Skip to content

Commit

Permalink
Increased image kit image size to fix quality.
Browse files Browse the repository at this point in the history
Added Google Analytics to the site.
  • Loading branch information
Urbanrunic committed Oct 11, 2011
1 parent 446f277 commit 2cf5d9d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gallery/specs.py
Expand Up @@ -15,7 +15,7 @@ class ResizeMedium(processors.Resize):

# now we define a display size resize processor
class ResizeDisplay(processors.Resize):
width = 600
width = 1000

# now let's create an adjustment processor to enhance the image at small sizes
class EnchanceThumb(processors.Adjustment):
Expand Down
13 changes: 13 additions & 0 deletions templates/base.html
Expand Up @@ -8,6 +8,19 @@
<link rel='stylesheet' href='/media/css/style.css' type='text/css' />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
<script src="/media/js/galleria-1.2.4.min.js"></script>
<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-26252361-1']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

</script>
</head>
<html>
<body>
Expand Down

0 comments on commit 2cf5d9d

Please sign in to comment.