| Author |
Message |
RobbieB
Lieutenant


Joined: Jul 15, 2003
Posts: 195
Location: California
|
Posted:
Mon Aug 25, 2003 3:03 pm |
  |
How do you change the size of the forum images?
ie. Folder.gif, Folder_New.gif etc...
If I try replacing those with ones that I have made, they automatically are stretched to
25x25 pixels.
Now, that's cool if the forum images are that size, but I definately don't want topic icons to be that big. Too much extra space. I'd like to instead, use custom images, most likely 12x12.
What file(s) do I change so it uses the dimensions of the images instead of a fixed dimension. It seems to do this with all of the forum images, so if I make one too small, it stretches it, or too big and it shrinks it.
Thanks |
|
|
    |
 |
dmcanally
Corporal


Joined: Jun 08, 2003
Posts: 62
|
Posted:
Mon Aug 25, 2003 3:15 pm |
  |
just take the original file and edit it. that would seem like the best way to do it. just use transparent space to make smaller images. |
|
|
   |
 |
RobbieB
Lieutenant


Joined: Jul 15, 2003
Posts: 195
Location: California
|
Posted:
Mon Aug 25, 2003 4:30 pm |
  |
That's a lame work around, cause then if I made 12x12 topic images, the actual image woudl still be 25x25 and the spacing between threads would look huge compared to the icon.
Come one, there's gotta be someone who knows which files I can modify. |
|
|
    |
 |
disgruntledtech
Site Admin


Joined: Apr 14, 2003
Posts: 991
Location: Tulsa, OK
|
Posted:
Mon Aug 25, 2003 4:37 pm |
  |
you'll have to edit the .tpl file for the theme look for the width/height tags in the img tag -either remove of change their numbers |
|
|
     |
 |
RobbieB
Lieutenant


Joined: Jul 15, 2003
Posts: 195
Location: California
|
Posted:
Tue Aug 26, 2003 9:28 am |
  |
which tpl? there are about 100! )
I just checked the viewforum_body.tpl
but I'm not seeing any image dimensions. |
|
|
    |
 |
foxyfemfem
Support Staff


Joined: Jan 23, 2003
Posts: 668
Location: USA
|
Posted:
Tue Aug 26, 2003 10:34 am |
  |
Hello,
If I'm not mistaken you can set the size of the image in the subSilver.cfg file (assuming subSilver is the theme you're using) |
_________________ If you shoot for the moon and miss, you'll still be amongst the stars. |
|
   |
 |
RobbieB
Lieutenant


Joined: Jul 15, 2003
Posts: 195
Location: California
|
Posted:
Tue Aug 26, 2003 1:18 pm |
  |
We aren't using subsilver...infact, I don't even know which one we originally modified.
Just for testing though, I loaded up the subsilver theme for my user account and edited the edsubSilver.cfg I did a find and replace for
width=\"etc" and then I removed all the widths. I then loaded up the forum and it still stretched the images. |
|
|
    |
 |
disgruntledtech
Site Admin


Joined: Apr 14, 2003
Posts: 991
Location: Tulsa, OK
|
Posted:
Tue Aug 26, 2003 7:33 pm |
  |
index_body.tpl is the main forums page
viewforum_body.tpl is the one with the list of topics
viewtopic_body.tpl is the one your looking at now |
|
|
     |
 |
RobbieB
Lieutenant


Joined: Jul 15, 2003
Posts: 195
Location: California
|
Posted:
Thu Aug 28, 2003 9:06 am |
  |
I don't see any mention of size in those flies except in the index_body I think, but it wasn't in regards to the forum or thread icons. What's the purpose behind setting a fixed image size?? |
|
|
    |
 |
RobbieB
Lieutenant


Joined: Jul 15, 2003
Posts: 195
Location: California
|
Posted:
Wed Sep 03, 2003 12:42 pm |
  |
Now, in themename.cfg
it has all the info about the images, which ones to use where and their URL, but it doesn't have any size attributes. |
|
|
    |
 |
RobbieB
Lieutenant


Joined: Jul 15, 2003
Posts: 195
Location: California
|
Posted:
Tue Sep 09, 2003 3:44 pm |
  |
As you can see, in my viewforum_body.tpl there are no size definitions.
| Code: |
<td height="34" class="row1"><a href="{topicrow.U_VIEW_TOPIC}"><img src="{topicrow.TOPIC_FOLDER_IMG}" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></a></td>
|
The tpl's are all in
themes/fisubsilversh/forums/
Those are the ones I'm supposed to edit right?
Anyway, I've even deleted the viewforum_body.tpl file and that didn't do a thing...no errors pages still looked the same etc. |
|
|
    |
 |
|
|