Closed (won't fix)
Project:
Bluga WebThumbs
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
2 Nov 2009 at 06:02 UTC
Updated:
2 Nov 2009 at 06:40 UTC
If you do something like:
print bluga_webthumb('http://drupal.org');
print bluga_webthumb('http://drupal.org', 'effect', 'never', array( 'effect' => 'mirror' ));
Bluga will correctly make two separate Bluga API requests, but it will not fetch the effect thumbnail correctly.
Btw, the better way to do this would be:
bluga_webthumb('http://drupal.org', 'effect', 'never', array( 'effect' => 'mirror' ));
print bluga_webthumb('http://drupal.org');
print bluga_webthumb('http://drupal.org', 'effect', 'never', array( 'effect' => 'mirror' ));
that usage will result in only a single token being used, rather than 3 tokens being consumed with the original. Still, the original ought to work anyway.
Comments
Comment #1
zostay commentedCorrection, it will use 2 tokens rather than 3.
Comment #2
zostay commentedNevermind. This doesn't seem to be the problem I thought it was. Instead, it appears that you cannot request an "effect" via the usual fetch request. It seems to be available only as part of the "zip".