×

Discussion Board

Results 1 to 5 of 5

Thread: WML and JPG

  1. #1
    Registered User
    Join Date
    May 2003
    Posts
    1

    WML and JPG

    i am having difficulties using jpg on a nokia 7210.
    the wml alt tag shows up, but the image does not.
    gif works fine, wbmp also works fine.
    the jpg is NOT progressive. doesn't this phone support .jpg format?

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    196
    Hi,

    Nokia 7210 doesn't support the jpg.


    Browsing document section has documents Nokia GSM WAP Phone Characteristic & Nokia GSM WAP Phone Mime types.
    Those two documents gives a good picture what are supported on the Nokia Phones.


    Pete

  3. #3
    Registered User
    Join Date
    May 2003
    Posts
    6
    Hi,

    what about gif? Because in the specifications document you mentioned it says 7210 and 7250 support jpg and gif R/S (what exactly des it mean?)

    I try to embedd gif pictures in my XML code, but when I connect to my site with my phone (7250 or 7210, I see the alternative text insted of the picture (BTW, on the 7210 Emulator the pics are displayed with colors).

    The code I'm using is

    <?xml version="1.0"?>
    <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd">
    <wml>

    <card id="istanbul" title="Istanbul">
    <p align="center">
    <img src="images/Colorlogos/istanbul.gif" align="middle" alt="loading..."/><br/>
    <anchor>get logo!<go href='http://216.127.94.45/zed/efrat/istanbul.nol'/></anchor>
    </p>
    </card>

    </wml>


    The picture is 50X25 pixles big, 1.71 kb.

    Can you PLEASE help me?

    Thanks,
    Efrat

  4. #4
    Nokia Developer Expert
    Join Date
    Mar 2003
    Posts
    334
    Hello!

    Please see the document 'Nokia GSM WAP Phone Characteristics' and 'WAP Screen Attributes' / 'Image formats'. There you can see that jpg is not supported in WAP browser screen in Nokia 7210 / 7250.

    'S/R' in 'Content Downloading' section means that the phone can Send and Receive the specified content type.

    Can you please check that the gif file (istanbul.gif) and its path are valid?



    Kind regards,

    sami / Forum Nokia Developer Support

  5. #5
    Registered User
    Join Date
    May 2003
    Posts
    6
    Hi Sami,

    Thanks for your quick answer.
    However, I checked the path again, and it still doesn't work... In the same directory I also have wbmp, and when I change the endings in the code the pictures show on the display (only that it's awful B&W...)
    I also tried giving the entire path (http://...istanbul.gif). Again, with wbmp it worked, with gif not.
    And as I said before, on the simlator it works fine...!
    Do you have any more ideas? People keep telling me that WAP 1.X cannot support color images, but I read in the forum that it does.
    As you could see in my code I'm declaring XML Version 1.0. Is that supported? If not, how can I change it to a higher version?

    H E L P...

    Thanks,
    Efrat
    Last edited by yahavef1; 2003-06-06 at 14:47.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×