Many users here want to share images. It’s sad that BuddyPress doesn’t provide an easy way to do it.
So I searched for a solution and found this. It actually works but needed a fix to support https so I tried to do something (probably not the best code ever).
My problem comes from bp_activity_make_nofollow_filter that add the nofollow thing and break the code.