Author Topic: Motd issue  (Read 2027 times)

0 Members and 1 Guest are viewing this topic.

Offline Tarado

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Motd issue
« on: February 04, 2014, 07:35:51 AM »
Hi,
I recently made my own MOTD on Photoshop and knowing that the motd is displayed by HTML removed the default MOTD codes and I simply replaced it with an IMG Tag with the source as the MOTD's JPEG file.
However, when I and other players join the server, we dont see the MOTD that I made but instead a grey background.
How can I fix this ?

I've tried changing the resolution of the Derma Panel on LUA to the same resolution as the JPEG file (which is 1280 x 720 ) but it does not fix the problem.

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Motd issue
« Reply #1 on: February 04, 2014, 07:55:24 AM »
Did you try resizing the image?
Out of the Garry's Mod business.

Offline Tarado

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: Motd issue
« Reply #2 on: February 04, 2014, 08:35:05 AM »
I want the image to be big enough because I have some small text on it.

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Motd issue
« Reply #3 on: February 04, 2014, 09:54:47 AM »
I've read somewhere that you need it to be small.
Out of the Garry's Mod business.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Motd issue
« Reply #4 on: February 04, 2014, 03:29:33 PM »
Where are you hosting y our img?
What is now in your motd file?
Attach it or post it in bb code tag here.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Tarado

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: Motd issue
« Reply #5 on: February 05, 2014, 05:39:06 AM »
I've fixed the problem. The resolution of the VGUI pane has to be slightly larger than the image itself.