Thanks for the help but of course I’ve already tried to do that and it doesn’t work.
It works only with the full object (photo/video) but not with a part of it.
Here’s what happens if I try your solution: https://dl.dropboxusercontent.com/u/34036559/border_issue_2.jpg