You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 54 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - forum images - where do you set the size? [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
RobbieB
Lieutenant
Lieutenant


Joined: Jul 15, 2003
Posts: 195

Location: California

PostPosted: Mon Aug 25, 2003 3:03 pm Reply with quoteBack to top

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
Find all posts by RobbieBView user's profileSend private messageVisit poster's website
dmcanally
Corporal
Corporal


Joined: Jun 08, 2003
Posts: 62


PostPosted: Mon Aug 25, 2003 3:15 pm Reply with quoteBack to top

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.
Find all posts by dmcanallyView user's profileSend private message
RobbieB
Lieutenant
Lieutenant


Joined: Jul 15, 2003
Posts: 195

Location: California

PostPosted: Mon Aug 25, 2003 4:30 pm Reply with quoteBack to top

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.
Find all posts by RobbieBView user's profileSend private messageVisit poster's website
disgruntledtech
Site Admin
Site Admin


Joined: Apr 14, 2003
Posts: 991

Location: Tulsa, OK

PostPosted: Mon Aug 25, 2003 4:37 pm Reply with quoteBack to top

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
Find all posts by disgruntledtechView user's profileSend private messageSend e-mailVisit poster's website
RobbieB
Lieutenant
Lieutenant


Joined: Jul 15, 2003
Posts: 195

Location: California

PostPosted: Tue Aug 26, 2003 9:28 am Reply with quoteBack to top

which tpl? there are about 100! Surprised)

I just checked the viewforum_body.tpl

but I'm not seeing any image dimensions.
Find all posts by RobbieBView user's profileSend private messageVisit poster's website
foxyfemfem
Support Staff
Support Staff


Joined: Jan 23, 2003
Posts: 668

Location: USA

PostPosted: Tue Aug 26, 2003 10:34 am Reply with quoteBack to top

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.
Find all posts by foxyfemfemView user's profileSend private message
RobbieB
Lieutenant
Lieutenant


Joined: Jul 15, 2003
Posts: 195

Location: California

PostPosted: Tue Aug 26, 2003 1:18 pm Reply with quoteBack to top

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.
Find all posts by RobbieBView user's profileSend private messageVisit poster's website
disgruntledtech
Site Admin
Site Admin


Joined: Apr 14, 2003
Posts: 991

Location: Tulsa, OK

PostPosted: Tue Aug 26, 2003 7:33 pm Reply with quoteBack to top

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
Find all posts by disgruntledtechView user's profileSend private messageSend e-mailVisit poster's website
RobbieB
Lieutenant
Lieutenant


Joined: Jul 15, 2003
Posts: 195

Location: California

PostPosted: Thu Aug 28, 2003 9:06 am Reply with quoteBack to top

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??
Find all posts by RobbieBView user's profileSend private messageVisit poster's website
RobbieB
Lieutenant
Lieutenant


Joined: Jul 15, 2003
Posts: 195

Location: California

PostPosted: Wed Sep 03, 2003 12:42 pm Reply with quoteBack to top

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.
Find all posts by RobbieBView user's profileSend private messageVisit poster's website
RobbieB
Lieutenant
Lieutenant


Joined: Jul 15, 2003
Posts: 195

Location: California

PostPosted: Tue Sep 09, 2003 3:44 pm Reply with quoteBack to top

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.
Find all posts by RobbieBView user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.184 Seconds - 181 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::