I noticed in the module that there is a delay parameter than can be set. I'd like to set this to the maximum of '15'. What would you recommend?

In the future, it might be really great to be able to set this in the module settings admin. The longer delay would help to get past "loading..." screens on flash sites.

Thanks for this great module.

Comments

zostay’s picture

Status: Active » Fixed

You can do this by specifying an option:

print bluga_webthumb('http://drupal.org', 'medium', 'never', array( 'delay' => 15 ));

There are a lot of options that are documented in the module. I believe everything that you can do with the API, you can do with this module. As an example, you can modify where an excerpt thumbnail is taken from on the page:

print bluga_webthumb('http://drupal.org', 'excerpt', 'never', array( 'excerpt' => array( 'x' => 100, 'y' => 100, width => 400, 'height' => 200 ));

Some of this has been tested, but I have not tested all of it completely.

Cheers.

jibbajabba’s picture

Status: Fixed » Closed (fixed)

Sweet. Thanks for this explanation!