New exception type.
Explicitly check if we can actually find the image by Id.
Removing the closing PHP "?>" tag as per style guidelines.
Explicitly declare this class variable
Need to pull in the global $page variable for this method.
Use the method from core/util to parse the bool from the DB instead.
These variables where never defined depending on the execution path.
Stop scrutinizer from complaining here.