post_page
Name a custom subroutine to run before image paths are substituted on a page.
Valid values
the parameter is expected to be the name of a Sub
or a GlobalSub.
There is no default value.
Description
This pragma names a Sub or a GlobalSub
to run before any image files are substituted on a page.
If the subroutine returns true then image URI rewrites will be
aborted, otherwise they will continue as usual.
Regardless of whether the named subroutine returns true or
false, image rewriting will still be subject to the
no_image_rewrite pragma.