Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #1 from oberst/patch-1

make the preview image bigger
  • Loading branch information...
commit 3d8e4b75c048a58a40c55b1f56424781eddbb763 2 parents 1650af5 + 236834d
Yuriy Perevoznikov authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  showing_dropbox_images.user.js
6  showing_dropbox_images.user.js
@@ -6,14 +6,14 @@
6 6
 
7 7
 $ = unsafeWindow.jQuery;
8 8
 
9  
-$('a[href$=".jpg"], a[href$=".gif"], a[href$=".png"]').each(function() {
  9
+$('a[href$=".jpg"], a[href$=".jpeg"], a[href$=".gif"], a[href$=".png"]').each(function() {
10 10
 	var $link = $(this);
11 11
 	var $img = $('<img />');
12 12
 	var $aLink = $('<a />');
13 13
 
14 14
 	$img
15  
-		.css('max-width', '150px')
16  
-		.css('max-height', '150px')
  15
+		.css('max-width', '706px')
  16
+		.css('max-height', '1800px')
17 17
 		.attr('src', $link.attr('href'));
18 18
 
19 19
 	$aLink

0 notes on commit 3d8e4b7

Please sign in to comment.
Something went wrong with that request. Please try again.