package | midcom.helper.datamanager2 |
---|
We do not wish to rewrite _auto_convert_to_web_type() logic just because we must be able to handle also RAW files, so here we try to render a PNG and should we fail we use a placeholder image (which user can then replace with a web-compatible one).
boolean
indicating whether we could render the RAW to web type properly or notstring
the midcom_helper_imagefilter filter chain to applyboolean
indicating success/failureLoads and processes the $tmpname file on disk.
string
The name of the image attachment to be created.string
The file to load.string
The title of the image.boolean
If this is true (the default), the temporary file will
be deleted after postprocessing and attachment-creation.boolean
Indicating success.