Update media.php
Merge pull request #195 from iliketomatoes/Fixed-thumbnails

Update media.php