{* * $Revision: 1.10 $ * If you want to customize this file, do not edit it directly since future upgrades * may overwrite it. Instead, copy it into a new directory called "local" and edit that * version. Gallery will look for that file first and use it if it exists. *}

{g->text text="Image Block Settings"}

{if isset($status.saved)}

{g->text text="Settings saved successfully"}

{/if}

{g->text text="Show"}






{if isset($ImageBlockSiteAdmin.list)}

{g->text text="Frames"}

{g->text text="View samples"}

{g->text text="Album Frame"}
{g->text text="Photo Frame"}
{/if}

{g->text text="External Image Block"}

{g->text text="Use a PHP block like the one shown below to include an image block in a PHP page outside of Gallery."}

<?php @readfile('{g->url arg1="view=imageblock.External" arg2="blocks=randomImage" arg3="show=title" forceDirect=true forceSessionId=false forceFullUrl=true}'); ?>

{if isset($ImageBlockSiteAdmin.list)} {/if}
{$ImageBlockSiteAdmin.prefix}blocks {g->text text="Pipe(|) separate list chosen from: randomImage, recentImage, viewedImage, randomAlbum, recentAlbum, viewedAlbum, dailyImage, weeklyImage, monthlyImage, dailyAlbum, weeklyAlbum, monthlyAlbum, specificItem; default is randomImage"}
{$ImageBlockSiteAdmin.prefix}show * {g->text text="Pipe(|) separated list chosen from: title, date, views, owner, heading, fullSize; the value can also be: none"}
{$ImageBlockSiteAdmin.prefix}itemId {g->text text="Limit the item selection to the subtree of the gallery under the album with the given id; or the id of the item to display when used with specificItem block type"}
{$ImageBlockSiteAdmin.prefix}maxSize {g->text text="Scale images to this maximum size. If maxSize exceeds the thumbnail dimensions, you must also specify g2_show=fullSize"}
{$ImageBlockSiteAdmin.prefix}linkTarget {g->text text="Add a link target (for example, to open links in a new browser window)"}
{$ImageBlockSiteAdmin.prefix}itemFrame * {g->text text="Image frame to use around images"}
{$ImageBlockSiteAdmin.prefix}albumFrame * {g->text text="Image frame to use around albums"}

{g->text text="If a parameter marked with * is omitted then the site default defined above is used."}

{if isset($ImageBlockSiteAdmin.list)}

{g->text text="Image frames require CSS to be displayed correctly. Include the following in the %s section to support image frames." arg1="<head>"}

{capture name="cssUrl"}{g->url arg1="controller=imageblock.ExternalCSS" arg2="frames=wood" forceDirect=true forceSessionId=false forceFullUrl=true}{/capture} <link rel="stylesheet" href="{$smarty.capture.cssUrl|replace:"&":"&"}"/>

{g->text text="Specify the frame id (or pipe separated list of ids) in the frames parameter. Omit the parameter to support the image frames configured above. Frame ids are the directory names in the %s directory." arg1="modules/imageframe/frames"}

{/if}