Search…

X3 Photo Gallery Support Forums

Search…
 
jc70
Topic Author
Posts: 1
Joined: 28 Nov 2008, 09:23

Image in main menu button

28 Nov 2008, 09:32

Hi!
Is possible to insert an image instead of the text in .mainmenu_menubutton?
Thanks in advance!!
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

30 Nov 2008, 23:49

I'm afraid that's not possible. CSS stylesheets for Flash have limited control of text formatting only. You can not use it to insert images in any way.

Perhaps you can explain exactly what you want to do, and I could see if it might be something we can improve in a future release.
 
sanatist
Posts: 5
Joined: 08 Jan 2009, 07:55

08 Jan 2009, 14:51

I wish I could replace the text with my logo.. that would be great.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

11 Jan 2009, 01:32

Just found a workaround solution to this - Go to admin -> config -> edit your language. Find the "mainmenu" item, and add some HTML to insert an image:
Code
<img src='path/yourlogo.jpg' width='50' height='20' />
I am not quite sure the mainmenu gallery flip adapts to fit your image, but you can try it out ...
 
sanatist
Posts: 5
Joined: 08 Jan 2009, 07:55

11 Jan 2009, 12:48

No, it isn't working. The image is not showing, I also tried absolute path.
But that's ok.. thanks for your help.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

12 Jan 2009, 02:20

works here ...
 
13thwitness
Posts: 14
Joined: 08 Jan 2009, 16:04

24 Jan 2009, 04:51

i've tried the same and didn't work for me either.

this is the code i entered ---> <img src='http://www.13thwitness.com/small_13.jpg' width='28' height='20' />


:?
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

24 Jan 2009, 17:21

This must be bit buggy, works only when you enter text along with the image, and text must be in front.

I entered: 13thwitness<img src='http://www.13thwitness.com/small_13.jpg' width='28' height='20' />

And this is what i got:
Image
firedev.com
 
13thwitness
Posts: 14
Joined: 08 Jan 2009, 16:04

24 Jan 2009, 17:28

whats the max dimensions i can use?
 
13thwitness
Posts: 14
Joined: 08 Jan 2009, 16:04

24 Jan 2009, 17:57

i've tried many sizes, all of them come out buggy like you said.

only problem is 28x20 isnt much to work with for logo space...
 
arrawnt
Posts: 6
Joined: 23 Jan 2009, 22:14

26 Jan 2009, 06:12

just noticed that you are using single commas instead of normal commas in your code...

'' instead of ""
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

29 Jan 2009, 08:44

For those of you considering this approach, I would a similar method instead. Please check out pain's tutorial here:
viewtopic.php?t=4555