[BUGFIX] isFrontend returned TRUE for i.php. Resulted in broken images