[Chameleon-dev] [Bug 354] New: [Chameleon] UpdateMap widget - using relative images

bugzilla-daemon at www.maptools.org bugzilla-daemon at www.maptools.org
Fri Apr 16 17:52:56 EDT 2004


http://www.maptools.org/bugzilla/show_bug.cgi?id=354

           Summary: [Chameleon] UpdateMap widget - using relative images
           Product: Chameleon
           Version: 1.99
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Widget
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: mckenna at dmsolutions.ca


So according to Bug#127, for relative image paths the logic for the code is 1)
look in app directory, 2) use web path, and 3) look in chameleon relative to
chameleon.php. 
I'm attempting to use an UpdateMap widget without buttonizer (no
styleresource)..here is my widget tag:

<cwc2 type="UpdateMap" visible="true" imagetip="Update Map" label="Update"
imagewidth="20" imageheight="20">
   <image state="normal" image="images/icon_update.png"/>
   <image state="selected" image="images/icon_update.png"/>
   <image state="hover" image="images/icon_update.png"/>
</cwc2>

produces a broken image.  In this case "icon_update.png" is located in the
chameleon/images directory and not in the app/images directory.  A properties on
the broken image gives:

http://127.0.0.1/msapps/chameleon1.1/chameleon_sample/htdocs/images/icon_update.png 

which means it's looking in the app for the image.  A view/source on the page gives:

<img NAME="cwcimage_11" ID="cwcimage_11" SRC="images/icon_update.png"
ALT="Update Map" TITLE="Update Map" BORDER="0" WIDTH="20" HEIGHT="20">

which looks right.

any ideas?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Chameleon-dev mailing list