Page 1 of 1

[SOLVED] altering size of "folder_new" images

PostPosted: Fri Jul 06, 2007 12:23 pm
Author: Karl-D
Hya although I like the round folder new image etc. I want to create some slightly different ones squire with the corners knocked off, problem I am having is I donà ¢Ã¢â€š ¬Ã¢â€ž ¢t know were the image sizes are located to be altered.
On a standard PHPBB they are located within the index_body.tpl file but were are they located on integramod?

Basicly I want them the same width as my link images but squire

[flash=,:129z6qoh]http://www.british-birds-in-aviculture.info/bbia-forums/templates/fisubice/images//link_folder.gif[/flash:129z6qoh]

Re: altering size of "folder_new" images

PostPosted: Fri Jul 06, 2007 3:10 pm
Author: Helter
image sizes are located in template name.cfg.

you will notice the code at the top of the page

Code: Select all
 $current_template_images = $current_template_path . "/images";$topic_iw = '59';$topic_ih = '18';$post_iw = '91';$post_ih = '24';$icon_iw = '16';$icon_ih = '18';$topic_icon_iw = '20';$topic_icon_ih = '20';$folder_iw = '22';$folder_ih = '22';$folderbig_iw = '25';$folderbig_ih = '25';$catfolderbig_iw = '32';$catfolderbig_ih = '32';  


this code will differ from template to template

you can find which of these is controling the size of folder_new.gif by doing a search for it. In Integra2, you will find

Code: Select all
 $images['forum_new'] = "$current_template_images/folder_new.gif" width="$folderbig_iw" height="$folderbig_ih" class="imgfolder";  


this means you will edit the size of
Code: Select all
 $folderbig_iw = '25';$folderbig_ih = '25';  


be aware that this will change the size of all the images controled by this tag. If you need to change just one image
you can create a new tag for it like this (see the bottom)

Code: Select all
 $current_template_images = $current_template_path . "/images";$topic_iw = '59';$topic_ih = '18';$post_iw = '91';$post_ih = '24';$icon_iw = '16';$icon_ih = '18';$topic_icon_iw = '20';$topic_icon_ih = '20';$folder_iw = '22';$folder_ih = '22';$folderbig_iw = '25';$folderbig_ih = '25';$catfolderbig_iw = '32';$catfolderbig_ih = '32';$newtag_iw = '100';$newtag_ih = '25';  


then for your button, use

Code: Select all
 $images['forum_new'] = "$current_template_images/folder_new.gif" width="$newtag_iw" height="$newtag_ih" class="imgfolder";  


all the images in this file, must have this size tag, or Internet explorer, will display them as little red x's

Re: altering size of "folder_new" images

PostPosted: Sun Jul 08, 2007 7:34 am
Author: Karl-D
Hya HelterSkelter
Its just the images on the index.php i.e. new post no new posts locked posts etc.
At least I know were the size values are now so can have a play around to see what exactly is effected by altering them to 30 x 30.

Thanks fella much appreciated <img>

Re: altering size of "folder_new" images

PostPosted: Sun Jul 08, 2007 1:18 pm
Author: Karl-D
Thanks HelterSkelter finally got them sorted, I also had to alter the ones in viewforum.php which made it perfect as all are now all the same size and themed.
Below are just a couple of examples

[flash=,:19ti27l0]http://www.british-birds-in-aviculture.info/bbia-forums/templates/fisubice/images//folder_new.gif[/flash:19ti27l0][flash=,:19ti27l0]http://www.british-birds-in-aviculture.info/bbia-forums/templates/fisubice/images//folder.gif[/flash:19ti27l0]