Raised This Month: $51 Target: $400
 12% 

Display picture


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Vechta
Veteran Member
Join Date: Jun 2010
Old 12-21-2010 , 15:26   Display picture
Reply With Quote #1

It's possible to display a Picture in Dynamic Motd?

If yes, someone would give me the code for it..
Vechta is offline
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 12-21-2010 , 15:45   Re: Display picture
Reply With Quote #2

You can also put images in normal motds:
HTML Code:
<img src="http://www.google.com"/>
Check this site for more info on how to put images:
http://www.quackit.com/html/codes/ht..._link_code.cfm
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
Vechta
Veteran Member
Join Date: Jun 2010
Old 12-22-2010 , 01:20   Re: Display picture
Reply With Quote #3

Dont work
Vechta is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 12-22-2010 , 01:45   Re: Display picture
Reply With Quote #4

Show what code you used.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Vechta
Veteran Member
Join Date: Jun 2010
Old 12-22-2010 , 02:28   Re: Display picture
Reply With Quote #5

PHP Code:
iPos += format(szMotd[iPos], charsmax(szMotd) - iPos"<font color=^"#FFFF00^"><b>Test</font><br></b>")
iPos += format(szMotd[iPos], charsmax(szMotd) - iPos"<font color=^"#00FF00^">-Kill %i Enemies</font><br>", Test)
iPos += format(szMotd[iPos], charsmax(szMotd) - iPos"-[%d / %d]<br><br>"test[id], test1[id]) 
I want to set in front of this lines a Icon.
Vechta is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 12-22-2010 , 02:32   Re: Display picture
Reply With Quote #6

Like this?

Code:
+-------+
|       | Line 1
| Image | Line 2
|       | Line 3
+-------+
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Vechta
Veteran Member
Join Date: Jun 2010
Old 12-22-2010 , 02:39   Re: Display picture
Reply With Quote #7

Ye, perfect
Vechta is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 12-22-2010 , 02:43   Re: Display picture
Reply With Quote #8

In your case it would be better to use a table since you are formatting the MOTD in a string and not a website.

Code:
<table>
    <tr>
        <td>
            <img src="" />
        </td>
        <td style="vertical-align:middle;">
            Line 1<br />
            Line 2<br />
            Line 3
        </td>
    </tr>
</table>
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Vechta
Veteran Member
Join Date: Jun 2010
Old 12-22-2010 , 02:54   Re: Display picture
Reply With Quote #9

Will try this out, thank you.
Vechta is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-22-2010 , 19:17   Re: Display picture
Reply With Quote #10

Depending on your intention and how you want it to look you could do:

HTML Code:
<img src="http://www.nordcore.org/include/images/links/amxx.gif" style="float:left" />
hello<br />
there<br />
Hi<br />
which will wrap text around the image. If you want the image on the left and the text to always be to the right of the image then the table is probably better.
__________________
fysiks is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode