isenseDev/iSENSE — pull request #180 by jdalphon (2012-05-23 21:11:16+00:00)
Title: Limited to last 15 images

This was requested by Fred because the picture app experiments get a little unruly.

This was fixed in media.php and closes issue #179

changed

```php
$output = $db->query("SELECT * FROM pictures WHERE pictures.experiment_id = {$eid}");
'''

to

```php
$output = $db->query("SELECT * FROM pictures WHERE pictures.experiment_id = {$eid} ORDER BY created DESC LIMIT 15");
'''