It does not load de image from picasa

閲覧: 1 回
最初の未読メッセージにスキップ

Esdras Mayrink

未読、
2009/01/29 9:51:532009/01/29
To: rubyonra...@googlegroups.com
Hello everbody.

I'm trying to load images from my picasa webalbum in my rails app.

So, this is the image url:
http://lh4.ggpht.com/_PjuQJCqPYIk/SYDrJz34UiI/AAAAAAAAAT0/KUvS_-XPE8A/sunset-1600.jpg

When I do <img src='http://lh4.ggpht.com/_PjuQJCqPYIk/SYDrJz34UiI/AAAAAAAAAT0/KUvS_-XPE8A/sunset-1600.jpg' />, or image_tag( ... ) it does not load the image, and Firebug says it was not found. But when I do it in a simple .html file out of a rails app. it loads the image correctly.

the most intrigant  thing is that the thumbnail of the same image loads correctly in both, rails app and the .html file.
This is the URL of a thumbnail of the image: http://lh4.ggpht.com/_PjuQJCqPYIk/SYDrJz34UiI/AAAAAAAAAT0/KUvS_-XPE8A/s144/sunset-1600.jpg

I'm using rails 2.2.2 and this happened in production mode (I didn't test it in production mode).

Can somebody figure out what is going on?

Any help will be appreciated.

Esdras Mayrink

未読、
2009/01/29 9:55:472009/01/29
To: rubyonra...@googlegroups.com
sorry:

I'm using testing it in development mode, not in production mode.

2009/1/29 Esdras Mayrink <eda.b...@gmail.com>

Femi

未読、
2009/02/10 9:40:442009/02/10
To: Ruby on Rails: Talk
I have exactly the same problem. In both IE as FF. Is there anyone who
has a solution for this?

Any help is welcome

Colin Law

未読、
2009/02/10 12:18:122009/02/10
To: rubyonra...@googlegroups.com
2009/1/29 Esdras Mayrink <eda.b...@gmail.com>

Hello everbody.

I'm trying to load images from my picasa webalbum in my rails app.

So, this is the image url:
http://lh4.ggpht.com/_PjuQJCqPYIk/SYDrJz34UiI/AAAAAAAAAT0/KUvS_-XPE8A/sunset-1600.jpg

When I do <img src='http://lh4.ggpht.com/_PjuQJCqPYIk/SYDrJz34UiI/AAAAAAAAAT0/KUvS_-XPE8A/sunset-1600.jpg' />, or image_tag( ... ) it does not load the image, and Firebug says it was not found. But when I do it in a simple .html file out of a rails app. it loads the image correctly.
 

Have you tried viewing the page source and copying the <img src=..../> out and into your simple html page just to check there is not some subtle difference in the url string?

 
全員に返信
投稿者に返信
転送
新着メール 0 件