Thread:SlyCooperFan1/@comment-26716831-20180908185926/@comment-1824272-20180909205609

You shouldn't have to do that. In the source editor, keep "hideaddbutton=true" and just add the filename to the gallery like all the other files are displayed.