Categories

Gallery Settings

Template-help.com Team November 15, 2010
No votes yet.
Please wait...

All necessary settings can be adjusted with the help of tfile_gallery.xml

For example:

 
     <section name=”settings”>
    <option name=”previewPosition”>left</option>
    <option name=”previewOffset”>7</option>
    <option name=”imageWidth”>134</option>
    <option name=”imageHeight”>94</option>
    <option name=”hSpace”>10</option>
    <option name=”vSpace”>5</option>
    <option name=”colls”>1</option>
    <option name=”rows”>1</option>
    <option name=”listingOffset”>15</option>
    <option name=”openInBrowser”>false</option>
    <option name=”commentPosition”>stretched</option>
  </section>
  <!– Do not edit anything below this line instead you know what are you doing –>
  <section name=”systemOptions”>
    <option name=”killCache”>false</option>
    <option name=”stageWidth”>766</option>
    <option name=”stageHeight”>800</option>
    <option name=”galleryWidth”>676</option>
    <option name=”galleryHeight”>428</option>
    <option name=”previewXCorrection”>2</option>
    <option name=”previewYCorrection”>2</option>
    <option name=”previewHeightCorrection”>-3</option>
    <option name=”previewWidthCorrection”>-4</option>
    <option name=”zoomX”>25</option>
    <option name=”zoomY”>20</option>
    <option name=”menuPosition”>horizontal</option>
    <option name=”menuWidthOrHeight”>500</option>
    <option name=”galleryButtonCorrection”>0</option>
    <option name=”pageBackCorrection”>0</option>
    <option name=”pageNextCorrection”>1</option>
    <option name=”commentXCorrection”>0</option>
    <option name=”commentYCorrection”>21.0</option>
    <option name=”commentLeft”>10</option>
    <option name=”commentRight”>10</option>
    <option name=”menuOffset”>30</option>
    <option name=”smallPictureXCorrection”>3</option>
    <option name=”smallPictureYCorrection”>4</option>
    <option name=”smallPictureHeightCorrection”>-2</option>
    <option name=”smallPictureWidthCorrection”>-2</option>
    <option name=”templateHelpPreview”>false</option>
  </section>
  <section name=”galleryAdminDefaults”>
    <option name=”maxGalleriesAllowed”>100</option>
    <option name=”minImageWidth”>50</option>
    <option name=”minImageHeight”>50</option>
    <option name=”maxImageWidth”>300</option>
    <option name=”maxImageHeight”>300</option>
    <option name=”minPreviewWidth”>100</option>
    <option name=”minPreviewHeight”>100</option>
    <option name=”maxPreviewWidth”>1024</option>
    <option name=”maxPreviewHeight”>768</option>
    <option name=”minPreviewOffset”>0</option>
    <option name=”maxPreviewOffset”>30</option>
    <option name=”minHSpace”>0</option>
    <option name=”maxHSpace”>20</option>
    <option name=”minVSpace”>0</option>
    <option name=”maxVSpace”>20</option>
    <option name=”minListingOffset”>0</option>
    <option name=”maxListingOffset”>30</option>
    <option name=”minColsNumber”>0</option>
    <option name=”maxColsNumber”>10</option>
    <option name=”minRowsNumber”>0</option>
    <option name=”maxRowsNumber”>10</option>
    <option name=”maxCommentChars”>1000</option>
    <!– Gallery Preferences Defaults –>
    <option name=”previewPosition”>left</option>
    <option name=”previewOffset”>7</option>
    <option name=”imageWidth”>134</option>
    <option name=”imageHeight”>94</option>
    <option name=”hSpace”>10</option>
    <option name=”vSpace”>5</option>
    <option name=”openInBrowser”>false</option>
    <option name=”commentPosition”>stretched</option>
    <option name=”colls”>1</option>
    <option name=”rows”>1</option>
    <option name=”listingOffset”>8</option>
  </section>
 

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 /admin part but for some time will be inaccessible for the current user (the one who edited /admin part) because of the information cashing in his browser. In a while all changes will be visible in the gallery.

See also:
How to use gallery settings tool demo movie

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket