Galleria Custom Template Help

Permalink 2 users found helpful
I have altered the Galleria Block to have a drop down menu for the description and when you pick a new description it shows a new image. But I'm having a problem getting the description to match the image when the page first loads. Could anyone help me out with this? Attached is the zip. The custom template is called "Image Swap"

1 Attachment

bryanlewis
 
bryanlewis replied on at Permalink Reply
bryanlewis
Any help on this would be great. I tried to contact the developer of the Galleria Package and didn't get much of a response. Thanks in advance.
LucasAnderson replied on at Permalink Best Answer Reply
LucasAnderson
add this to the bottom of your custom template view.php (/templates/image_swap/view.php)

<?php echo '<script type="text/javascript"> onSelectChange(); </script>' ?>