Yahoo! Developer Network
Developer Solutions
Multi-Device
Media
APIs & Tools
Mojito
YQL
BOSS
YUI
Connected TV
PlaceFinder
Flickr
View all
Community
Forums
YDN Theater
Events
Blog
Search YDN
Search YDN
Search YDN
Sign In
Yahoo! Application Platform
Create New App
My Apps
Documentation
Forum
Back to YAP Forum
Vote Up
0
Vote Down
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
Jared
Apr 9, 2009
Report Abuse
1 Reply
Jonathan LeBlanc
Apr 10, 2009
Thanks Jared, that's a good suggestion. I'll send it through as a feature request to the YAP group.
Jonathan LeBlanc
Report Abuse
Vote Up
0
Vote Down
Login to reply
Ask a Question
Recent Posts
in YAP