0

Feature Request: Resolve image URLs properly

I've noticed in my Yahoo! Open App that I have to use complete image URLs both for <img> tags and for CSS background images.

It would be nice if the Yahoo platform would resolve images URIs relative to the URL of the request that returns them. Here's what I mean.

Example 1:
URL browser requests: http://apps.yahoo.com/99999999/YahooFullView
URL Yahoo retrieves: http://www.mydomain.com:8080/
Image URI in response: foo.gif
Image Yahoo should use: http://www.mydomain.com:8080/foo.gif

Example 2:
URL browser requests: http://apps.yahoo.com/99999999/YahooFullView/stuff/10
URL Yahoo retrieves: http://www.mydomain.com:8080/myapp/stuff/10
Image URI in response: images/foo.gif
Image Yahoo should use: http://www.mydomain.com:8080/myapp/stuff/images/foo.gif

Example 3:
URL browser requests: http://apps.yahoo.com/99999999/YahooFullView/stuff/10
URL Yahoo retrieves: http://www.mydomain.com:8080/myapp/stuff/10
Image URI in response: /images/foo.gif
Image Yahoo should use: http://www.mydomain.com:8080/images/foo.gif

Thanks,
Jared

by
0 Replies
  • Thanks Jared, that's a good suggestion. I'll send it through as a feature request to the YAP group.

    Jonathan LeBlanc
    0

Recent Posts

in YAP