Using the Redactor rich text field, how can I dynamically wrap my images with a fancyBox link (with attributes as parameters)?
I managed to achieve this a while back within ExpressionEngine. The approach would be the same...

I used this Javascript:

$(document).ready(function() {
    $(".fancybox").fancybox();

    // Apply FancyBox to images within the body of an article
    $(".articleBody img").on("click", function(){
       $.fancybox($(this).attr("src"),{
           // API options
           padding : 0 // example
       });
    });

    $('.fancybox-media')
        .attr('rel', 'media-gallery')
        .fancybox({
            openEffect : 'none',
            closeEffect : 'none',
            prevEffect : 'none',
            nextEffect : 'none',
            padding : 0,

            arrows : false,
            helpers : {
                media : {},
                buttons : {}
        }
    });

});


From memory, this worked on all  tags within .