{"id":1881,"date":"2010-11-15T10:25:00","date_gmt":"2010-11-15T10:25:00","guid":{"rendered":"http:\/\/mts-help.nick.php.dev\/after_sale_support\/Working_with_Dynamic_Flash_Galleries\/article3.html"},"modified":"2016-03-30T05:01:47","modified_gmt":"2016-03-30T09:01:47","slug":"gallery-settings","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/gallery-settings.html","title":{"rendered":"Gallery Settings"},"content":{"rendered":"All necessary settings can be adjusted with the help of <span style=\"FONT-WEIGHT: bold\">tfile_gallery.xml<\/span> <br \/> <br \/>For example: <br \/> <br \/> <div class=\"example_code\">&nbsp; <br \/>&nbsp;&nbsp; &nbsp; &lt;section name=&#8221;settings&#8221;&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;previewPosition&#8221;&gt;left&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;previewOffset&#8221;&gt;7&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;imageWidth&#8221;&gt;134&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;imageHeight&#8221;&gt;94&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;hSpace&#8221;&gt;10&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;vSpace&#8221;&gt;5&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;colls&#8221;&gt;1&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;rows&#8221;&gt;1&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;listingOffset&#8221;&gt;15&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;openInBrowser&#8221;&gt;false&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;commentPosition&#8221;&gt;stretched&lt;\/option&gt; <br \/>&nbsp; &lt;\/section&gt; <br \/>&nbsp; &lt;!&#8211; Do not edit anything below this line instead you know what are you doing &#8211;&gt; <br \/>&nbsp; &lt;section name=&#8221;systemOptions&#8221;&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;killCache&#8221;&gt;false&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;stageWidth&#8221;&gt;766&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;stageHeight&#8221;&gt;800&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;galleryWidth&#8221;&gt;676&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;galleryHeight&#8221;&gt;428&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;previewXCorrection&#8221;&gt;2&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;previewYCorrection&#8221;&gt;2&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;previewHeightCorrection&#8221;&gt;-3&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;previewWidthCorrection&#8221;&gt;-4&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;zoomX&#8221;&gt;25&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;zoomY&#8221;&gt;20&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;menuPosition&#8221;&gt;horizontal&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;menuWidthOrHeight&#8221;&gt;500&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;galleryButtonCorrection&#8221;&gt;0&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;pageBackCorrection&#8221;&gt;0&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;pageNextCorrection&#8221;&gt;1&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;commentXCorrection&#8221;&gt;0&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;commentYCorrection&#8221;&gt;21.0&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;commentLeft&#8221;&gt;10&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;commentRight&#8221;&gt;10&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;menuOffset&#8221;&gt;30&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;smallPictureXCorrection&#8221;&gt;3&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;smallPictureYCorrection&#8221;&gt;4&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;smallPictureHeightCorrection&#8221;&gt;-2&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;smallPictureWidthCorrection&#8221;&gt;-2&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;templateHelpPreview&#8221;&gt;false&lt;\/option&gt; <br \/>&nbsp; &lt;\/section&gt; <br \/>&nbsp; &lt;section name=&#8221;galleryAdminDefaults&#8221;&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;maxGalleriesAllowed&#8221;&gt;100&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;minImageWidth&#8221;&gt;50&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;minImageHeight&#8221;&gt;50&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;maxImageWidth&#8221;&gt;300&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;maxImageHeight&#8221;&gt;300&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;minPreviewWidth&#8221;&gt;100&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;minPreviewHeight&#8221;&gt;100&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;maxPreviewWidth&#8221;&gt;1024&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;maxPreviewHeight&#8221;&gt;768&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;minPreviewOffset&#8221;&gt;0&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;maxPreviewOffset&#8221;&gt;30&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;minHSpace&#8221;&gt;0&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;maxHSpace&#8221;&gt;20&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;minVSpace&#8221;&gt;0&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;maxVSpace&#8221;&gt;20&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;minListingOffset&#8221;&gt;0&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;maxListingOffset&#8221;&gt;30&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;minColsNumber&#8221;&gt;0&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;maxColsNumber&#8221;&gt;10&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;minRowsNumber&#8221;&gt;0&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;maxRowsNumber&#8221;&gt;10&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;maxCommentChars&#8221;&gt;1000&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;!&#8211; Gallery Preferences Defaults &#8211;&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;previewPosition&#8221;&gt;left&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;previewOffset&#8221;&gt;7&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;imageWidth&#8221;&gt;134&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;imageHeight&#8221;&gt;94&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;hSpace&#8221;&gt;10&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;vSpace&#8221;&gt;5&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;openInBrowser&#8221;&gt;false&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;commentPosition&#8221;&gt;stretched&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;colls&#8221;&gt;1&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;rows&#8221;&gt;1&lt;\/option&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;option name=&#8221;listingOffset&#8221;&gt;8&lt;\/option&gt; <br \/>&nbsp; &lt;\/section&gt; <br \/>&nbsp;<\/div> <br \/>Sometimes, gallery editing (if proxy server is switched on your browser settings) will lead to a temporary cashing of information. I.e. while editing the gallery all changes will be correctly reflected in the <span style=\"FONT-WEIGHT: bold\">\/admin<\/span> part but for some time will be inaccessible for the current user (the one who edited <span style=\"FONT-WEIGHT: bold\">\/admin<\/span> part) because of the <span style=\"FONT-WEIGHT: bold\">information cashing<\/span> in his browser. In a while all changes will be visible in the gallery. <br \/> <br \/> <span style=\"FONT-WEIGHT: bold\">See also:<\/span> <br \/> <a class=\"link3\" href=\"..\/presentations\/hostgator-hosting-unlimited.php\">How to use gallery settings tool<\/a> demo movie","protected":false},"excerpt":{"rendered":"<p>All necessary settings can be adjusted with the help of tfile_gallery.xml For example: &nbsp; &nbsp;&nbsp; &nbsp; &lt;section name=&#8221;settings&#8221;&gt; &nbsp;&nbsp;&nbsp; &lt;option name=&#8221;previewPosition&#8221;&gt;left&lt;\/option&gt; &nbsp;&nbsp;&nbsp; &lt;option name=&#8221;previewOffset&#8221;&gt;7&lt;\/option&gt; &nbsp;&nbsp;&nbsp; &lt;option name=&#8221;imageWidth&#8221;&gt;134&lt;\/option&gt; &nbsp;&nbsp;&nbsp; &lt;option name=&#8221;imageHeight&#8221;&gt;94&lt;\/option&gt; &nbsp;&nbsp;&nbsp; &lt;option name=&#8221;hSpace&#8221;&gt;10&lt;\/option&gt; &nbsp;&nbsp;&nbsp; &lt;option name=&#8221;vSpace&#8221;&gt;5&lt;\/option&gt; &nbsp;&nbsp;&nbsp; &lt;option name=&#8221;colls&#8221;&gt;1&lt;\/option&gt; &nbsp;&nbsp;&nbsp; &lt;option name=&#8221;rows&#8221;&gt;1&lt;\/option&gt; &nbsp;&nbsp;&nbsp; &lt;option name=&#8221;listingOffset&#8221;&gt;15&lt;\/option&gt; &nbsp;&nbsp;&nbsp; &lt;option name=&#8221;openInBrowser&#8221;&gt;false&lt;\/option&gt; &nbsp;&nbsp;&nbsp; &lt;option name=&#8221;commentPosition&#8221;&gt;stretched&lt;\/option&gt; &nbsp; &lt;\/section&gt; &nbsp; &lt;!&#8211; [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[282,752],"tags":[502,501],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/1881"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=1881"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/1881\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=1881"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=1881"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=1881"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}