5 use Faker\Provider\Image;
 
   15     public static function image($dir = 
null, $width = 640, $height = 480, $category = 
null, $fullPath = 
true, $randomize = 
true, $word = 
null) {
 
   17         if (empty($local_folder) || !is_dir($local_folder)) {
 
   18             return parent::image($dir, $width, $height, $category, $fullPath, $randomize, $word);
 
   24         $dir = new \DirectoryIterator($local_folder);
 
   26         foreach ($dir as 
$file) {
 
   27             if (!
$file->isFile()) {
 
   35             return parent::image($dir, $width, $height, $category, $fullPath, $randomize, $word);
 
elgg image block elgg image
Provide images from a local folder for seeding.
static image($dir=null, $width=640, $height=480, $category=null, $fullPath=true, $randomize=true, $word=null)
{}
elgg_get_config($name, $site_guid=0)
Get an Elgg configuration value.
foreach($resources as $id=> $href) if(!empty($resources_html)) $files
if(!array_key_exists($filename, $text_files)) $file