The query is so you can store the <img> info inside the database. In order to run querys in the Admincp you need to edit the config.php file. Change the following line:
Find:
PHP Code:
$canrunqueries = '';
Replace With:
PHP Code:
$canrunqueries = 'X';
Change X to your Userid. You can find your userid by clicking on your profile and seeing the number at the end of the URL. If your the owner of the site, this will ussally be 1.