diff options
author | joe.lapp <joe.lapp@pobox.com> | 2005-09-15 05:55:16 +0200 |
---|---|---|
committer | joe.lapp <joe.lapp@pobox.com> | 2005-09-15 05:55:16 +0200 |
commit | f8925855f0c0939a3e9c02f7bf41d465443d6cc6 (patch) | |
tree | dde24b1ed47d602b40825964210dbdefd3e25eb5 /lib | |
parent | dc673a5b4730b9b706001e8f06ded3dc9986908c (diff) | |
download | rpg-f8925855f0c0939a3e9c02f7bf41d465443d6cc6.tar.gz rpg-f8925855f0c0939a3e9c02f7bf41d465443d6cc6.tar.bz2 |
made tpl_img() arguments more intuitive
Caller passes non-zero dimension only when proportionately limiting the
image by that dimension; no need to pass very large numbers to preserve
the image's original dimensions or to leave one dimension unconstrained.
darcs-hash:20050915035516-36b45-660f49670164c75285cf3e9051d10786216ec6df.gz
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tpl/default/detail.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tpl/default/detail.php b/lib/tpl/default/detail.php index 1328b7174..70865c933 100644 --- a/lib/tpl/default/detail.php +++ b/lib/tpl/default/detail.php @@ -46,7 +46,7 @@ <h1><?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?></h1> <div class="img_big"> - <?php tpl_img() ?> + <?php tpl_img(900,700) ?> </div> <div class="img_detail"> |