This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

Gallery Pastebin - Paste and link to it

Posted by talmdal Wed 11th Jun 2008 05:13

  1. {if $image.width > 500}
  2.   {assign var=maxSize value=500}
  3. {else}
  4.   {assign var=maxSize value=$image.height}
  5. {/if}
  6. <div id="photo">
  7.   {g->image item=$theme.item image=$image fallback=$smarty.capture.fallback maxSize=$maxSize}
  8. </div>
  9.  

PermaLink to this entry http://tools.gallery2.org/pastebin/1996 Download 1996.txt
Submit a correction or amendment below. (click here to make a fresh posting)

Your Name
Syntax:
For (optional)
Leave permalink as note for user. Remember my name in a cookie

Select channel for announcement:
#gallery#gallery-support

Code: To ensure legibility, keep your code lines under 80 characters long.

You can highlight lines: start with "@#" and end with "!#"

Description: You can leave a small description for your code. (Errors, etc)

Please note that your script will be available publicly.
Page generated in 0.034 seconds.