This is what I have been advised to do, but I don't know how:
1) slimbox is well coded: you can add the shortcode [eshop_addtocart
id="123"] to the Caption of your image
2) slimbox isn't: you have to hack slimbox to edit the caption part and
make it do_shortcode($legend) and then apply (1)
Any advice please? Thanks.