On Fri, 29 Jan 2010 10:59:38 -0800, Steve Matlock <[email protected]> wrote:
>I'm using Oxygen 10.x > >I have image urls that our users use that look like this: >" >https://www.mysite.com/image/button?color=orange&OwnerId=JoeSmith&size=large&background=white >" > >When these URLs are opened, they pull in the right button based upon the >owner, color, size, and background. > >If I try to use this image URL as-is in the image tag, I get an error >because the "&" means the following word is treated as an HTML entity name >such as © or &trade. > >So I changed the "&" in the URL to "&" > >Now I don't get an error, but I also don't get an image. > >Is there a way to modify this URL so it retrieves the right image using the >syntax I'm using? I can't point to an image without using these parameters. Try URL escaping instead of an entity. The ampersand is %26 in that scheme, the question mark is %3F, and the equals %3D. It's the hex value of the character, which you can always get from the Windows char utility. HTH! -- Jeremy H. Griffith, at Omni Systems Inc. <[email protected]> http://www.omsys.com/ _______________________________________________ oXygen-user mailing list [email protected] http://www.oxygenxml.com/mailman/listinfo/oxygen-user
