Update plugin.php

Bugfix: new function for the setup of jpg quality.