The $dsg_auto_output
option allows you to disable automatic print of the HTML output. It stores that output in a $dsg_output
variable instead and allows you to customize place where you want to show gallery.
<?php // disable automatic print of the output HTML code $dsg_auto_output = FALSE; ?> <?php include 'dsg.php'; ?> ... <?php echo $dsg_output; // print HTML output where you want to ?>
Important
Make sure you print the output HTML code manually after setting $dsg_auto_output config variable to FALSE, because otherwise you won't see any galleries. Unless your intention is only to process the images without displaying them anywhere.