Feature #904
[Patch] Flickr pics should link to their source image on Flickr
| Status : | Closed | Start : | ||
| Priority : | Low | Due date : | ||
| Assigned to : | Justin - | % Done : | 0% |
|
| Category : | frontend | |||
| Target version : | 2.5 | |||
| Resolution : | fixed |
Description
With this minor change in app/views/shared/_flickr.rhtml the flickr images also link to their source image on flickr.
- <div><%= image_tag pic.thumb, :alt => pic.title %></div>
+ <div><%= link_to image_tag(pic.thumb, :alt => pic.title),pic.link %></div>
Also add the following to the stylesheet so that their aren't weird link borders under the images.
#flickr a { border: none; }
#flickr a:hover { border: none; }
