Hi,
I'm trying to build a WAP page, but I'm having a bit of trouble using images. I've tried putting an img tag like
<img src="Image.gif" />
within my paragraph tag. The img is a non-interlaced 64 colour gif, but my 7650 says 'Cannot display malformed content'
The page works fine without the img tag in it.
Can someone help me with this problem?
Littlecharva
WML doesn't handle GIF images
The image must be in a .wbmp format
Get the Nokia WAP Toolkit from forum.nokia.com. There's tools in it to convert the file.
By the way WAP will only let you use monochrome pictures (just the two colours)
Then how come the Orange wapsite has images with more than 2 colours?
I've also been on other wap sites with full colour images.
Anyone else?
Good question
I haven't done any WAP development in a couple of years (as it was a bit crap at the time)
Wonder if they've updated it since - I'll see if anyone else round here knows 😊
Seem that no one has used WAP in a while.
Just an idea but...
Have you tried using PNG format? GIF is owned by Compuserve who charge royalties somewhere along the line.
Most standards are moving away from GIF for this reason and are using PNG. I would think that, if they revised WAP, they'd probably use this instead.
Might be worth a try...
It was my DOCTYPE, I used the 1.1 DOCTYPE when it needs to be the 1.2.
Cheers for your help anyway.
[quote="littlecharva"]Then how come the Orange wapsite has images with more than 2 colours?
I've also been on other wap sites with full colour images.
Anyone else?[/quote]
You need to be using WAP1.3 to use GIFs. Previous versions won't allow .gif images (which is a bit odd, frankly)
Any version af wap supports colour images, you just link too them, the phone does the displaying, my colour site is entirely written in wml 1.1 so all phones can see it.