Did you know you can output custom gallery content as
<gallery_content num=1-10 content_limit=image>
<!--ITEM_NUM--> <!--TYPE--> <!--THUMB--> <!--IMAGE-->
</gallery_content>
Custom gallery content
Custom gallery content
Don't forget to run script update