Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Graphics & Style in Snitz!
 Questions on graphics
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

fakeman
Starting Member

Netherlands
17 Posts

Posted - 04 May 2007 :  10:25:07  Show Profile
I'm enhancing the graphical qualities of my Snitz site for a bit, but I encountered the following problems:

1) I've made a complete new set of folder-icons for my website (files like icon_folder.gif, icon_folder_new.gif etc) but I encounter the following problem: my new icons are 15x27 pixels and apparently somewhere in the asp it says "Icons shall not exceed 15x15!" so my icons get horribly compressed and disfigured... Is there a way to reset these dimensions?

2) I've added images to each Topic-title to spice it up a little, but if I code it like: "Open this topic now and wisdom will be thine share! {img=left}enlightenment.gif{ /img=left}" (but of course with [] in stead of {})the image gets displayed underneath the text instead of left of the text. Same thing if I use [img=right], however short the actual text, the img is one line below the text, which makes it look very amateuristic. Is there a way to change this without actually having to write in a complete new column?

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 04 May 2007 :  10:29:04  Show Profile
1) Have a look in inc_iconfiles.asp

2) Got linkage to illustrate the problem?


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

fakeman
Starting Member

Netherlands
17 Posts

Posted - 04 May 2007 :  10:48:16  Show Profile
Well everything is on an offline testsite so thats gonna be a bit of a problem...
I made a screenie tho and moderated it in photoshop to show you what I want it to look like.

This is how it looks at the moment.
This is how I hope it will look soon :)

quote:
Originally posted by Shaggy

1) Have a look in inc_iconfiles.asp

2) Got linkage to illustrate the problem?



Go to Top of Page

fakeman
Starting Member

Netherlands
17 Posts

Posted - 04 May 2007 :  10:54:51  Show Profile
Oh by the way, I've checked inc_iconfiles.asp and that looks like it is what I ment :) Thanks very much!
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 04 May 2007 :  11:06:47  Show Profile  Send ruirib a Yahoo! Message
You can change the values in inc_iconfiles.asp...


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 04 May 2007 :  11:28:46  Show Profile
Have a at the code that parses the [img] tags in inc_func_common.asp; you'll need to change the HTML that they are replaced by so that they are floated to the left/right rather than aligned either side.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

fakeman
Starting Member

Netherlands
17 Posts

Posted - 07 May 2007 :  03:44:50  Show Profile
I'm afraid I am more of a graphics guy then a programmer... Can I ask you to elaborate on this one?
Oh btw, the forum is online now and can be seen here!

quote:
Originally posted by Shaggy

Have a at the code that parses the [img] tags in inc_func_common.asp; you'll need to change the HTML that they are replaced by so that they are floated to the left/right rather than aligned either side.




Edited by - fakeman on 07 May 2007 04:12:41
Go to Top of Page

fakeman
Starting Member

Netherlands
17 Posts

Posted - 08 May 2007 :  05:25:00  Show Profile
Alright, I did a little research and tried the following:
In inc_func_common.asp I replaced lines 1183 and 1193:

Original:
ImgTags(3,1,1) = "[ img=right]"
ImgTags(3,2,1) = "[ /img=right]"
ImgTags(3,1,2) = "<img align=""right"" src="""
ImgTags(3,2,2) = """ id=""right"" border=""0"">"

ImgTags(5,1,1) = "[ img=left]"
ImgTags(5,2,1) = "[ /img=left]"
ImgTags(5,1,2) = "<img align=""left"" src="""
ImgTags(5,2,2) = """ id=""left"" border=""0"">"


My version:
ImgTags(3,1,1) = "[ img=right]"
ImgTags(3,2,1) = "[ /img=right]"
ImgTags(3,1,2) = "<img style=""float: right; padding-left: 5px"" src="""
ImgTags(3,2,2) = """ id=""right"" border=""0"">"

ImgTags(5,1,1) = "[ img=left]"
ImgTags(5,2,1) = "[ /img=left]"
ImgTags(5,1,2) = "<img style=""float: left; padding-right: 5px"" src="""
ImgTags(5,2,2) = """ id=""left"" border=""0"">"


This doesn't work however, nothing changes in the way the images are displayed. I think I know why too: for the float function to work, the img and the text need to be in the same tags.
Example: <P><IMG SRC="nicecellphone.gif" STYLE="float: left; padding-right: 5px;">And you can make calls with it as well!</P>
This obviously will not be the case here...

Is the only solution left changing the whole forum from forum code to html?
Go to Top of Page

fakeman
Starting Member

Netherlands
17 Posts

Posted - 14 May 2007 :  03:56:35  Show Profile
Nobody?
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20550 Posts

Posted - 14 May 2007 :  05:47:53  Show Profile  Visit HuwR's Homepage
try adding display:inline to your img style block
Go to Top of Page

fakeman
Starting Member

Netherlands
17 Posts

Posted - 14 May 2007 :  10:31:50  Show Profile
Like so right?
	ImgTags(3,1,1) = "[ img=right]"
 	ImgTags(3,2,1) = "[ /img=right]"
 	ImgTags(3,1,2) = "<img style=""display: inline; float: right; padding-left: 5px"" src="""
 	ImgTags(3,2,2) = """ id=""right"" border=""0"">"

I tried it but unfortunately nothing happens visualy...
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20550 Posts

Posted - 14 May 2007 :  11:05:22  Show Profile  Visit HuwR's Homepage
ok, try adding the image tag infront of the text rather than after it
Go to Top of Page

fakeman
Starting Member

Netherlands
17 Posts

Posted - 15 May 2007 :  10:27:21  Show Profile
That does the trick! Thank you very much for staying with me all this time :D

quote:
Originally posted by HuwR

ok, try adding the image tag infront of the text rather than after it

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20550 Posts

Posted - 15 May 2007 :  11:33:50  Show Profile  Visit HuwR's Homepage
no problem, glad we could sort it out
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2019 Snitz™ Communications Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000 Version 3.4.07