×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    4

    Colour Images in WML

    Hi there, I am working on a university project encorporating a WML site and am havign troubles displaying colour images?

    Are there any settings I need to adjust to allow my WML to display .jpg or .gif images?

    Thanks,

    Joe

  2. #2
    Registered User
    Join Date
    Apr 2004
    Posts
    5

    Re: Colour Images in WML

    most problem is dealing with relativ path to the
    images files. try to use absolute and it should not make
    problems anymore.

    best,

    rudi singer

  3. #3
    Registered User
    Join Date
    Nov 2005
    Posts
    4

    Re: Colour Images in WML

    Im not too sure I understand what you mean.

    My code looks like this

    <?php
    include("common/db_functions.php");
    Header("Content-type: text/vnd.wap.wml");
    Header("Cache-Control: no-cache, must-revalidate");
    Header("Pragma: no-cache");
    echo ("<?xml version='1.0'?>");
    ?>
    <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
    "http://www.wapforum.org/DTD/wml_1.1.xml" >
    <wml>
    <card id="opening" title="AltCity">
    <p align="center">
    Welcome to AltCity
    <img src='small.jpg' alt='logo'>
    </p>
    </card>
    </wml>

  4. #4
    Registered User
    Join Date
    Apr 2004
    Posts
    5

    Re: Colour Images in WML

    any reason to use singlequotes in the image line ?

Similar Threads

  1. How to use GIF, JPG images in WML
    By Dhakshna in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 2005-10-17, 04:13

Posting Permissions

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