|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Colour Wapsites
I had always assumed WAP sites could only have WBMP images however, I have recently stumbled across a number of wap sites that feature both GIF and JPEG images.
I have implemented similar colour images within my WML pages and have been getting the response "Incorrect MIME type". I can add MIME types to my server but don't know what to do to get WML to recognise the JPEG and GIF's as appropriate content. Can anyone assist in telling me how to get colour images onto my wap site. An example of a coloured wap site is shown at URL Thx in advance! |
|
#2
|
|||
|
|||
|
The way i use color pics is
<img src="http://image.url.here" alt=" alternate text here"/> Btw, GIF pics load better and faster |
|
#3
|
||||
|
||||
|
Just use standard html img tags for it as a phone that can show colour pics is also likely to be able to read html.
As for the images, gifs and jpgs should be okay on your server, can you call the image in a normal pc browser to make sure it's okay? I'd check it was ok in a normal browser first then cut and paste the code from mjelly and see if that worked on my site. If it did I'd then just change the reference of the address of the file and then it should in theory work ok. I'm not too impressed with mjelly, phpnuke powered ringtone content, no contact number that was visible and yet they're using shortcodes. Looks like the world has another ringtone reseller that isn't complying to icstis standards. I could be wrong tho.
__________________
Andy Moore << oh no it's got a blog..... Word Press WAP Plugin with Ad Mob Advertising revenue PHP developer deploying ringtones, mp3 downloads and realtones I'm a geek who's obsessed with stats and gadgets |
|
#4
|
|||
|
|||
|
Here is the index.wml file that is held on the server. The URL is URL
as you can see by trying URL this is clearly stored on the server. Code:
<?xml version="1.0" ?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<template>
<do type="options" name="prev" label="Back">
<prev/>
</do>
</template>
<card title="cor.lancashire4u.com" id="cor">
<p align="left">
<img src="cor_hdr.jpg" alt="cor logo"/>
<br/>
<br/>Welcome to Corrinna's WAP site <br/>
<br/>
<a href="cor-00.wml">Enter Site </a>
</p>
</card>
</wml>
As I mentioned before I'm getting a wrong MIME type error? This is when I try it from a Nokia 6100 (which displays colour wap sites). Any Ideas? |
|
#5
|
||||
|
||||
|
Parse error: parse error in /home/putang/public_html/cor/index.wml on line 1
that'll explain it |
|
#6
|
|||
|
|||
|
try making the page xhtml compatable
|
|
#7
|
|||
|
|||
|
Clearly there is an error when viewing it in a web browser.
If I try the files locally with WinWap they work. If I place them onto the server and try again with WinWap I get errors (again moaning about not correct WML content). If I try on my phone it responds with "Incorrect MIME type" Surely if they work locally but not on the server then it is something to do with the MIME types? I have set up the appropriate types for WML WMLScript WBMP however am I missing specific WAP MIMES if using JPEG or GIF content? Could someone download the image from the previous post and create the index.wml file as per CODE snippet above to test it. I think it will work however as I keep saying I think it's something to do with MIME settings on the server. Maybe I'm just rambling ![]() |
|
#8
|
|||
|
|||
|
I have never been able to get a .jpg to display properly but have no problems with color .gif's
this works for me: -------------------------------------------------------------- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1" /> <TITLE>Untitled Document</TITLE> </head> <body> Testing <img src="cor_hdr.gif" /> </BODY> </HTML> |
|
#9
|
|||
|
|||
|
Your wap site and image works fine on my phone. (6230)
|
|
#10
|
|||
|
|||
|
Verizon blacks gifs and jpegs (at least they did on my t720). Are you trying to view your site on the same phone as you used to view the sites which used the gifs and jpegs?
|
|
#11
|
||||
|
||||
|
Quote:
verizon are just so anal about stuff though........ the biggest network over there and more users than you can shake a stick at but no gifs, jpgs and no external poly tones downloads...... </rant> |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > Colour Wapsites |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|