I made a small modification to the recent images block so that instead of linking to the users flicker page clicking an image pops thickbox and pulls the biggest (e.g. "medium") image into the thickbox viewer. This mod keeps the user on the host site ;)

The changes were:
flickr.module @ lines 187 (in function(theme_flickr_photo)...)
changed:
$photo_url = flickr_photo_page_url($p['owner'], $p['id']);
to:
$photo_url = flickr_photo_img($p);

flickr.module @ lines 189 (return l(...))
changed:
return l($img, $photo_url, array('title' => $title), NULL, NULL, TRUE, TRUE);
to:
return l($img, $photo_url, array('title' => $title, 'class' => 'thickbox'), NULL, NULL, TRUE, TRUE);

This is a sweet module but it would be awesome if there was a preference within the blocks to change these lines so that the administrator could link to another page on the host site and pass the flickr img URI---instead of linking to flickr. This would allow me to upload all my pics to flickr and get a gallery like experience on my site without building a flickr look-alike within Drupal.

nice work--
PP

Comments

wonder95’s picture

Status: Active » Closed (fixed)

I think you got the wrong module.