Gilles has uploaded a new change for review. https://gerrit.wikimedia.org/r/237037
Change subject: Bump quality of thumbor JPG thumbnails ...................................................................... Bump quality of thumbor JPG thumbnails This brings the file weight and DSSIM very close to the thumbnails generated by mediawiki/IM Change-Id: I993192c51ec69636847fb818036e0a3dd0694fb4 --- M puppet/modules/role/templates/thumbor/apache2.conf.erb 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/vagrant refs/changes/37/237037/1 diff --git a/puppet/modules/role/templates/thumbor/apache2.conf.erb b/puppet/modules/role/templates/thumbor/apache2.conf.erb index be3f5cd..b6ee447 100644 --- a/puppet/modules/role/templates/thumbor/apache2.conf.erb +++ b/puppet/modules/role/templates/thumbor/apache2.conf.erb @@ -2,6 +2,6 @@ RewriteEngine on RewriteBase "/images/" RewriteRule "^thumb/(\w+)/(\w+)/.*/qlow-(\d+)px-(.*\.jpg)" "http://127.0.0.1:8888/unsafe/$3x/filters:quality(40):sharpen(0.6,0.01,false)/<%= @server_url %>/images/$1/$2/$4" [P] -RewriteRule "^thumb/(\w+)/(\w+)/.*/(\d+)px-(.*\.jpg)" "http://127.0.0.1:8888/unsafe/$3x/filters:sharpen(0.6,0.01,false)/<%= @server_url %>/images/$1/$2/$4" [P] +RewriteRule "^thumb/(\w+)/(\w+)/.*/(\d+)px-(.*\.jpg)" "http://127.0.0.1:8888/unsafe/$3x/filters:quality(87):sharpen(0.6,0.01,false)/<%= @server_url %>/images/$1/$2/$4" [P] RewriteRule "^thumb/(\w+)/(\w+)/.*/(\d+)px-(.*\.png)" "http://127.0.0.1:8888/unsafe/$3x/<%= @server_url %>/images/$1/$2/$4" [P] </Directory> \ No newline at end of file -- To view, visit https://gerrit.wikimedia.org/r/237037 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I993192c51ec69636847fb818036e0a3dd0694fb4 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/vagrant Gerrit-Branch: master Gerrit-Owner: Gilles <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
