index: display thumbnail after upload
This commit is contained in:
parent
79cb8733e5
commit
b88273ec64
@ -60,6 +60,7 @@ contented.init("#surrogate-area", function(items) {
|
||||
var $table = $("<table>");
|
||||
for (var i = 0; i < items.length; ++i) {
|
||||
$table.append($("<tr>").append([
|
||||
$("<td>").append($("<img>").attr('src', contented.getThumbnailURL(contented.thumbnail.small_square, items[i]))),
|
||||
$("<td>").text(items[i]),
|
||||
$("<td>").html("<a target='_blank' href='" + contented.getDownloadURL(items[i]) + "'>get</a>"),
|
||||
$("<td>").html("<a target='_blank' href='" + contented.getInfoJSONURL(items[i]) + "'>info</a>"),
|
||||
|
Loading…
Reference in New Issue
Block a user