activity thumb link mod?
-
I want to change the link for the activity thumbnail.
I found this code in bp album core.php$content = '<p> <a href="'. $primary_link .'" class="picture-activity-thumb" title="'.$title.'"><img src="'. $image_path .'" /></a>'.$desc.'</p>';
does this print the html for the activity post thumbnail image?, I’m wondering if there’s a way to change it so it prints the link to the image file instead of the in-line view?
I’m using a lightbox to open bp-album images site wide, it works with the pictures.php and all-images.php, just had to change the a class and link.
<a href='<?php bp_album_picture_middle_url() ?>' class='fancybox' rel='slideshow' title=' <?php bp_album_picture_title_truncate(50) ?>'><img src='<?php bp_album_picture_thumb_url() ?>' /></a><br />
I’d like activity thumbnails to open in a lightbox as well. But I don’t know that it can work the same way in bp-core.php, I wouldn’t know how to write it… I only know it works if I make the class/link adjustment manually for the activity post on the back-end.
And thanks for this great plugin. So far It’s the most flexible of all the bp media plugins I’ve tried.
- The topic ‘activity thumb link mod?’ is closed to new replies.