Permalink
Browse files

Merge pull request #1 from oberst/patch-1

make the preview image bigger
  • Loading branch information...
yperevoznikov committed Sep 26, 2011
2 parents 1650af5 + 236834d commit 3d8e4b75c048a58a40c55b1f56424781eddbb763
Showing with 3 additions and 3 deletions.
  1. +3 −3 showing_dropbox_images.user.js
@@ -6,14 +6,14 @@
$ = unsafeWindow.jQuery;
-$('a[href$=".jpg"], a[href$=".gif"], a[href$=".png"]').each(function() {
+$('a[href$=".jpg"], a[href$=".jpeg"], a[href$=".gif"], a[href$=".png"]').each(function() {
var $link = $(this);
var $img = $('<img />');
var $aLink = $('<a />');
$img
- .css('max-width', '150px')
- .css('max-height', '150px')
+ .css('max-width', '706px')
+ .css('max-height', '1800px')
.attr('src', $link.attr('href'));
$aLink

0 comments on commit 3d8e4b7

Please sign in to comment.