Commit 7b00b37b authored by Luc Didry's avatar Luc Didry

Use image thumbnails in `myfiles` url

- reduce load time
- reduce bandwith consumption
parent 086d9245
Pipeline #54462 passed with stage
in 19 seconds
......@@ -19,7 +19,7 @@ $(document).ready(function(){
if($(this).parent().parent('tr').find('td:eq(4) .icon-ok').length) {
return '<i class="fa fa-fw fa-eye"></i><span class="sr-only">'+$(this).attr('href')+'</span>';
} else {
return '<img src="'+$(this).attr('href')+'" alt="'+$(this).attr('href')+'"/>';
return '<img src="'+$(this).attr('href')+'?width=200" alt="'+$(this).attr('href')+'"/>';
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment