Some way to center [image]?

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
User avatar
Neuromancer
Posts: 204
Joined: September 10th, 2010, 9:49 pm

Some way to center [image]?

Post by Neuromancer »

Is there some way to center the image used in the story parts regardless of the screen resolution?
User avatar
Heindal
Posts: 1360
Joined: August 11th, 2011, 9:25 pm
Location: Germany, Karlsruhe
Contact:

Re: Some way to center [image]?

Post by Heindal »

As nobody seems to reply. I would like to know that too. At least how to use a WML to make this.

However i can offer you a solution - you could add transparent borders to your picture.
I know its not the top solution, but it might help.
The future belongs to those, who believe in the beauty of their dreams.
Developer of: Trapped, Five Fates, Strange Legacy, Epical, UR Epic Era
Dungeonmasters of Wesnoth, Wild Peasants vs Devouring Corpses, Dwarf Dwarfson Dwarvenminer
User avatar
Alarantalara
Art Contributor
Posts: 787
Joined: April 23rd, 2010, 8:17 pm
Location: Canada

Re: Some way to center [image]?

Post by Alarantalara »

All images in the story parts specified with background are already centered so you don't need to do anything.

All images in the story part specified with image are relative to the background image, and you know what size it is, so if you center your image on the background image with centered=yes, then the image should still be centered afterward.
Post Reply