predator_pics/views/index.erb

8 lines
564 B
Plaintext
Raw Normal View History

2024-11-10 13:12:42 +00:00
<h1>Random bird of prey</h1>
<a href="<%= image[:url] %>" target="_blank">
<img class="refsheet" src="<%= image[:thumb] %>">
2024-11-10 13:12:42 +00:00
</a>
<p><strong>Description:</strong> <%= image[:desc] %></p>
<p><strong>Photo by:</strong> <%= image[:user_url] %></p>
<p><strong>Licensed under:</strong> <a href="<%= image[:license_url] %>"><%= image[:license] %></a></p>
<p><strong>URL:</strong> <a style = "white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block; max-width: 100%;" href="<%= image[:url] %>" target="_blank"><%= image[:url] %></a></p>