[mimp] Horde_Mobile_image() problem

Jan Schneider jan at horde.org
Wed Mar 15 14:04:30 PST 2006


Zitat von Zoltan Arpadffy <zoli at polarhome.com>:

> hi,
>
> I wonder, does Horde_Mobile_image method working at all or just I am doing
> something wrong?
>
> $c->add(new
> Horde_Mobile_image('/horde/mimp/themes/graphics/horde-power2.wbmp'));

You need to pass the image without the file extension. The code is  
selecting a wbmp or png file depending on whether you are connecting  
with a WML or HTML browser.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the mimp mailing list