Enabling customLink in the minislideshow and mediaBlock

  • Install Gallery's Custom Fields Module
  • Navigate to Gallery Admin -> Custom Fields: add a new custom field for photos "customLink" without quotes:

customFieldsAdmin

  • Then add your link for each photo you want: Edit Photo -> Custom Fields -> cusomLink

customLink

If a photo does not contain a customLink it will default to the normal link.

  • Lastly you will need to add %26customLink=true to the xmlUrl

"xmlUrl=http://www.yourgallery.com/gallery2/mediaRss.php?g2_albumId=25%26customLink=true&showDropShadow=true&delay=7"

  • Or for mediaBlock:

<?php @readfile('http://www.flashyourweb.com/gallery2/mediaBlock.php?g2_itemId=28371&customLink=1'); ?>

Have fun with Gallery ;)

-s

| View Printable Version

Enabling customLink in the minislideshow and mediaBlock | 0 comments | Anonymous Logout
The following comments are owned by whomever posted them. This site is not responsible for what they say.