Re: Horde_Mobile_image() problem

Jan Schneider <[email protected]> Wed, 15 Mar 2006 23:04:30 +0100
Newsgroups gmane.comp.horde.mimp
Message-ID <[email protected]>
Zitat von Zoltan Arpadffy <[email protected]>:

> 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/

-- 
mimp mailing list - Join the hunt: http://horde.org/bounties/#mimp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]