Author Topic: What kinds of pictured can I embed in the MOTD?  (Read 2712 times)

0 Members and 1 Guest are viewing this topic.

Offline superspiderman123

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
What kinds of pictured can I embed in the MOTD?
« on: September 28, 2010, 01:53:27 AM »
I've tried jpgs, bmps, pngs, and all of them give me a box with a question mark inside.

I've been using
<img src="bg.jpg" />

Is there anywhere I need to put the image? Right now, it's just sitting in addons/ulx along with ulx_motd.txt

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: What kinds of pictured can I embed in the MOTD?
« Reply #1 on: September 28, 2010, 09:06:34 AM »
You can use pretty much any type of image, but you'll need to host it somewhere online. imageshack.us is a good choice.
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: What kinds of pictured can I embed in the MOTD?
« Reply #2 on: September 28, 2010, 03:06:47 PM »
As Megiddo says in other words, there is no way to 'embed' an image into a Source motd.
Just link to them hosted on a real web server.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline RunEndless

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
Re: What kinds of pictured can I embed in the MOTD?
« Reply #3 on: September 29, 2010, 09:51:35 AM »
Use imageshack or create a webserver.
<img src="Image.jpg" width="192" height="285" />
OR
<img src="Image.jpg" />
Scripting a PHP.

class ULX {
       function ULX_N_PHP($string) {
              echo $string;
       }
} $ULX = new ULX;
$ULX->ULX_N_PHP('PHP + OOP with MySQL is fun.');

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: What kinds of pictured can I embed in the MOTD?
« Reply #4 on: September 29, 2010, 10:11:07 AM »
Use imageshack or create a webserver.
<img src="Image.jpg" width="192" height="285" />
OR
<img src="Image.jpg" />

You would want to make sure you included the entire path to the image.. like

Code: [Select]
<img src="http://myhost.com/images/image.jpg">
*edit* -  apparently SMF allows you to use img HTML tags in your post.. go figure.

Offline lavacano201014

  • Jr. Member
  • **
  • Posts: 83
  • Karma: 9
  • Archbishop of Cristina Scabbia worship
Re: What kinds of pictured can I embed in the MOTD?
« Reply #5 on: October 08, 2010, 06:56:49 AM »
You would want to make sure you included the entire path to the image.. like

Code: [Select]
<img src="http://myhost.com/images/image.jpg">
*edit* -  apparently SMF allows you to use img HTML tags in your post.. go figure.

test

That's odd. Most SMF forums have that turned off..
Circle reasoning works because circle reasoning works because...

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: What kinds of pictured can I embed in the MOTD?
« Reply #6 on: October 08, 2010, 07:11:15 AM »
I have it turned on because it can't do any harm and it's convenient :P
Experiencing God's grace one day at a time.