I don't think you can modify the Permalink URL without editing the source code, but you can modify the HTML template so that the URL is displayed just below the image. Open config/galleryserverpro.config and look for this:
Code:<mediaObject mimeType="image/*">
<browsers>
<browser id="default" htmlOutput="<div class="op1"><div class="op2"><div class="sb"><div class="ib"><img id="mo_img" src="{MediaObjectUrl}" class="{CssClass}" alt="{TitleNoHtml}" title="{TitleNoHtml}" style="height:{Height}px;width:{Width}px;" /></div></div></div></div>" />
</browsers>
</mediaObject>
Add the desired HTML snippet to the end of the htmlOutput attribute so that it looks like this:
Code:<mediaObject mimeType="image/*">
<browsers>
<browser id="default" htmlOutput="<div class="op1"><div class="op2"><div class="sb"><div class="ib"><img id="mo_img" src="{MediaObjectUrl}" class="{CssClass}" alt="{TitleNoHtml}" title="{TitleNoHtml}" style="height:{Height}px;width:{Width}px;" /></div></div></div></div><p>URL: http://www.mysite.com{MediaObjectAbsoluteUrlNoHandler}</p>" />
</browsers>
</mediaObject>
Note: Change "http://www.mysite.com" to your domain.
The secret is using the replacement parameter {MediaObjectAbsoluteUrlNoHandler}. You can read more about using them in the Admin Guide, in the section Rendering Media Objects to the Browser.
By default the URL will point to the compressed version rather than the original. You'll have to click to view the original to get that URL. And remember there is an option for viewing the hi-res originals by default if desired.
You are obviously not restricted to the change I suggested. The beauty of the HTML template system is that you can configure it however you want.
Roger Martin
Creator and Lead Developer of Gallery Server Pro