Welcome to 4images forum.
I guess since the time you started this topic you've changed your template..and probably already found the solution in default template yourself.
Either way, you'll need add in details.html:
{lightbox_button} and {download_button}