Update images.php

Change is_null() calls to strict checks images.php