- Image format allowed

- manual-reverse order on image loop
This commit is contained in:
mespeche
2013-09-23 15:26:52 +02:00
parent 3b397bed47
commit ddabf3fcbc
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ $(function($){
dictDefaultMessage : $('.btn-browse').html(),
uploadMultiple: false,
maxFilesize: 8,
acceptedFiles: 'image/*'
acceptedFiles: 'image/png, image/gif, image/jpeg'
});
var totalFiles = 0,

View File

@@ -10,7 +10,7 @@ Parameters:
{ifloop rel="image"}
<table class="table table-striped table-condensed table-left-aligned">
{loop type="image" name="image" source="{$imageType}" source_id="{$parentId}" width="200" height="100" resize_mode="borders"}
{loop type="image" name="image" source="{$imageType}" order="manual-reverse" source_id="{$parentId}" width="200" height="100" resize_mode="borders"}
<tr>
<td>
<img src="{$IMAGE_URL}" alt="{$TITLE}" class="img-thumbnail">