Gallery properties - Link Destination when curent image is clicked
Applications module
Gallery
Properties
Options tab /
Select and position page
You can find all information about this dialog.
here