MasterPress 1.3.1 is a compatibility release for PHP 8 and WordPress 5.7. It still remains backwards compatible with older PHP versions.
The UI and API implementation for the Image File Upload field type.
This field type stores the following field properties alongside the standard value:
The original source URL for the file, if it was downloaded from a URL.
The post ID for the attachment this file is related to, if it was created “From media library”.
The alt text set in the attributes dialog (if any)
The title text set in the attributes dialog (if any)
List of Methods
Overloads the --to-string method to output an appropriate image tag when this field is echoed.Note: this method is not intended to be called directly.
col( Array / String $args = w=80 )String
Overrides MPFT::col to create a fancyzoom enabled clickable thumbnail as the default display of an image in post and term manage screen field columns, which appears like the example below.