Adding Galleries through Control Panel to appear on page

  • Hi,


    I'm looking to add the function so users can add images galleries within the page content.


    I would like the user to setup an image gallery in the gallery app and then be able to type the slug name into a field on a page to display the images.


    For example, I have setup a text field on a page for them to type the name of the slug


    perch_content('Gallery');


    A gallery has been setup called test, so they would add the word test in the above field, which I would like to display as below


    <?php perch_gallery_album_images('test'); ?>


    On the line above, is there any way to to replace test with the value of perch_content('Gallery'); ?


    I haven't been able to find anything that would work.


    Thanks.