Displaying 5 results from an estimated 5 matches for "_photo".
Did you mean:
photo
2005 Dec 17
2
Testing flickr
...in my
log:
Processing FlickrController#search (for 127.0.0.1 at 2005-12-17
15:00:02) [POST]
Parameters: {"commit"=>"Find", "tags"=>"flower", "action"=>"search",
"controller"=>"flickr"}
Rendered flickr/_photo (1.45200)
Rendered flickr/_photo (1.53300)
.
.(some other photos, 24 total)
.
Rendered flickr/_photo (1.30200)
Completed in 36.62200 (0 reqs/sec) | Rendering: 35.35100 (96%) | 200 OK
[http://flickr/flickr/search]
I think something is wrong with that because the video shows 24 photos
rendered in...
2007 May 17
0
Trying to impliment the Rails Flickr screen cast
...nstalled the flickr gem and got an API key from flickr. I am
having an issue when I try to run the example though as I am told that
my API key has expired. As I only got it about 20 minutes before
writing this I find that hard to take.
Here is a copy of the error message.
Showing app/views/flickr/_photo.rhtml where line #1 raised:
Invalid API Key (Key has expired)
Extracted source (around line #1):
1: <img class="photo" src=<%= photo.sizes[0][''source''] %>">
/usr/local/lib/ruby/gems/1.8/gems/flickr-1.0.0/flickr.rb:67:in
`request''
/usr/local/lib...
2005 Aug 17
7
(newbie) #{method}_relative_path empty (file upload 0.1.2)
first off, thanks (a lot!) sebastian for creating this module... I''ve
been spending a lot of time in getting file uploads to work.
inside a project I''m working on, I''ve got two different models using
it... with one of them it''s working just fine. with another,
everything works, with the exception of the url_for_file_column
helper, which shows
2006 May 30
0
Catching Errors with Flickr API
...le to catch errors. I am using owner method (flickr :: photo) to
display the owner of the flickr photo''s name. However, at times (works
when it can find an owner), I get this error when loading the photo
(with attributes):
***
TypeError in Flickrtest#show
Showing app/views/flickrtest/_photo.rhtml where line #8 raised:
cannot convert Hash into String
Extracted source (around line #8):
6: <p>This is the static image URL: <%=@img.source(size=''Medium'') %></p>
7:
8: <p>Owner: <%= @owner %></p>
***
Thanks in advance for your help!
--...
2006 Apr 06
0
Using Rails and the Flickr API
...<label for="tags">Tags:</label>
<%= text_field_tag ''tags'' %>
<%= submit_tag ''Find'' %>
</fieldset>
<div id="photos" style="display: none"></div>
<%= end_form_tag %>
views/flickr/_photo.rhtml -
<a href="<%= photo.sizes[0][''source''] %>"><img class="photo" src="<%=
photo.sizes[0][''source''] %>" /></a>
--
Posted via http://www.ruby-forum.com/.