Centering images?

bwatford
23 Mar 2007, 03:09
I know when you insert an image in the editor it puts it inline with the text but I seem to be overlooking how to center the image on the screen? Am I missing something?

witch wyzwurd
23 Mar 2007, 06:28
Do this...

1. Create a blank message with "|jc" script only. This centers text.
2. In next command place your picture.

When your picture shows in the game-window it will be centered. If you want text below image to be left justified remember to add in the correct text formatting script in the command after it.

bwatford
24 Mar 2007, 00:21
Actually a blank message before the image with the |jc tag didn't do it. But you led me in the right direction. By doing it after the image on the 1st line it works like a charm.

Thanks

witch wyzwurd
24 Mar 2007, 02:11
Yah, I see why now...

What's happening is that you are placing a |jl after the image command, which is repositioning the centered image to the left. But, I'm guessing, your text following the image is even with the image's baseline. Do this...

1. msg "|jc"
2. insert image command
3. msg "|n|jl(text here)"

Your image will be centered, the following text will be set below the picture, and the text will be left justified.

By the way, the |n command means "new line," and this command separates the image's justification from the text's justification.

bwatford
24 Mar 2007, 02:24
Thanks for the help.