It does not load de image from picasa

1 view
Skip to first unread message

Esdras Mayrink

unread,
Jan 29, 2009, 9:51:53 AM1/29/09
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

unread,
Jan 29, 2009, 9:55:47 AM1/29/09
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

unread,
Feb 10, 2009, 9:40:44 AM2/10/09
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

unread,
Feb 10, 2009, 12:18:12 PM2/10/09
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?

 
Reply all
Reply to author
Forward
0 new messages