Closed (fixed)
Project:
Flickr
Version:
6.x-1.x-dev
Component:
flickr (main module)
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Jul 2007 at 14:06 UTC
Updated:
20 Nov 2008 at 16:32 UTC
Jump to comment: Most recent
Comments
Comment #1
drewish commentedi'd be into adding an option for this...
Comment #2
gan_drupal commentedHi,
return l($img, $photo_url, array('target' => '_blank'), NULL, NULL, TRUE, TRUE);
replace the above line with
return l($img, $photo_url, array('target' => '_blank'), array('title' => $title), NULL, NULL, TRUE, TRUE);
under the function "theme_flickr_photoset($ps, $owner, $size, $attribs = NULL)".
probably this could be the last line of your flickr.module.
Comment #3
Pear Head commentedI don't know about v6, but for v5 that doesn't work. This is what I used:
return l($img, $photo_url, array('title' => $title, 'target' => '_blank'), NULL, NULL, TRUE, TRUE);
I also had to change it under the theme_flickr_photo function.
Comment #4
gan_drupal commentedHey i'm also using v5, it works fine in both the functions [theme_flickr_photo and theme_flickr_photosets] !!
Comment #5
andrewlevine commentedIf someone creates a patch for this we can get it committed.
Comment #6
Rowanw commentedTo avoid adding this same option to every module in Drupal, you should use something like the External Links module.
Comment #7
ksenzeeThe External Links module does the trick. Another great option is Lightbox2. It has built-in Flickr module functionality. Just install version 2 of the module, and your Flickr links will automagically turn into beautiful Lightbox images, keeping users on your site and happy.
Comment #8
Anonymous (not verified) commentedNothing more need be said :-)
Although i also said this ..
http://drupal.org/node/140825