Resizing the image in the Image Block using HTML tags
RPG
Joined: 2004-12-23
Posts: 1 |
Posted: Thu, 2004-12-23 04:29 |
Here is my site's gallery: http://www.garrettsites.net/gallery |
|
RPG
Joined: 2004-12-23
Posts: 1 |
Posted: Thu, 2004-12-23 04:29 |
Here is my site's gallery: http://www.garrettsites.net/gallery |
|
Posts: 27300
RPGs site is G2.
Moved to the G2 UI forum.
Posts: 7994
This is easy to tweak. Copy modules/imageblock/templates/ImageBlock.tpl to modules/imageblock/templates/ImageBlock.tpl.local and edit it. Find this block:
{g->image item=$block.item image=$block.thumb class="giThumbImage" maxSize=140}
Change the maxSize to 119 and you should be all set.
Posts: 1
Hi,
I would rather do it different without touching the gallery template.
What about
<?php @readfile('http://photos.brajeshwar.com/main.php?g2_view=imageblock.External&g2_blocks=randomImage&g2_show=fullSize&g2_maxSize=119'); ?>
Regards
Brajeshwar
http://www.brajeshwar.com/
_____________________________________