It would be great to have images from external sites such as Lorempixum into content using devel generate, this patch is just a port of #1134986: Allow other modules to generate images for devel_generate for Filefield to be able to set the generating image function in Drupal 7 with Devel.
Please see Devel images provider module

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pcambra’s picture

Status: Active » Needs review
FileSize
985 bytes
moshe weitzman’s picture

Status: Needs review » Needs work

Looks good. I think the var name should start with devel_generate_ and not image_

moshe weitzman’s picture

Lets add a pointer to http://drupal.org/project/devel_image_provider from readme and project page.

Also, would be ideal to fallback to using devel for generation if the specified function does not exist.

pcambra’s picture

Great, here's a patch with more adecuate naming and a function_exists check to fallback to the default image generation by devel generate.

pcambra’s picture

Status: Needs work » Needs review
alberto56’s picture

subscribing.

loominade’s picture

subscribe

shiva7663’s picture

subscribe

salvis’s picture

Status: Needs review » Needs work

Try to reactivate the testbot.

salvis’s picture

Status: Needs work » Needs review
pcambra’s picture

I've added a section for extensions to devel generate in README.txt, the rest of the patch is the same as #4

moshe weitzman’s picture

Status: Needs review » Fixed

committed to 7.x and 8.x. Did not apply cleanly to 6.x

Sorry for the delay.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.