1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-30 18:09:56 +02:00

Upgrade ImageSizer to provide a new getEngineInfo() method that enables you to get verbose information about all installed engines (such as supported source/target formats, and more) without having to supply a file to inspect.

This commit is contained in:
Ryan Cramer
2019-08-15 05:37:38 -04:00
parent 4a9a7fadb8
commit 429b98023b
6 changed files with 208 additions and 18 deletions

View File

@@ -73,7 +73,7 @@ class Pageimages extends Pagefiles {
* Does this field have the given file name? If so, return it, if not return null.
*
* @param string $name Basename is assumed
* @return null|Pagefile Returns Pagefile object if found, null if not
* @return null|Pagefile|Pageimage Returns Pagefile object if found, null if not
*
*/
public function getFile($name) {