tips:image-in-the-upper-right-corner
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:tips:image-in-the-upper-right-corner [2007-02-03 09:48] – 84.143.97.154 | tips:image-in-the-upper-right-corner [2014-04-18 11:16] (current) – 82.150.248.37 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ---- | ||
+ | FIXME: This page seems deprecated as uploading a file named " | ||
+ | ---- | ||
+ | ===== Having an image instead of title text in the upper-right corner ===== | ||
+ | |||
+ | You can see this one in action here: **FIXME LINK CRASHED!** < | ||
+ | |||
+ | |||
+ | in tpl/ | ||
+ | <code php> | ||
+ | to | ||
+ | <code php> | ||
+ | |||
+ | and in config/ | ||
+ | <code php> | ||
+ | |||
+ | The additional variable is necessary because otherwise the "< | ||
+ | |||
+ | Have fun! | ||
+ | peace, Christoph Neuroth 2005-05-08 | ||
+ | |||
+ | > not working for me...to img src path I had to prepend ' | ||
+ | > <code php> | ||
+ | > thanks for the tip, Petr Smrcka 2005-08-24 | ||
+ | >> For me it had to be src=" | ||
+ | >> DOK 2009-09-02 | ||
+ | >>> | ||
+ | >>> | ||
+ | |||
+ | > Thanks for documenting this. | ||
+ | > running a closed wiki I needed to use a different kind of url to access the image. | ||
+ | > I copied this from the way images are referenced in the body: | ||
+ | > / | ||
+ | > It worked at least in CSS. | ||
+ | > Anybody knows a nicer way to call fetch w/o hardcoding the wiki dir? | ||
+ | > Ferdinand Soethe, 2007-02-03 | ||
+ | |||
+ | > Here is the alternative to the approach above: | ||
+ | > Adding something like | ||
+ | > background-image: | ||
+ | > background-repeat: | ||
+ | > to the layout.css will add the logo as a background to the header | ||
+ | > Ferdinand Soethe, 2007-02-03 | ||
+ | |||
+ | ---- | ||
+ | For dokuwiki-2009-12-25c I had to do the following to get this to work. Please note that my dokuwiki is in htdocs/ | ||
+ | |||
+ | 1. Created htdocs/ | ||
+ | |||
+ | 2. Specified the variable as: | ||
+ | |||
+ | <code php> | ||
+ | |||
+ | It is tricky to debug because, until you get it all right, the image is either replaced with a ? or does not appear at all. If you get a ?, try to Download Image or do some other manipulation on it. That can give a clue to the problem. | ||
+ | |||
+ | 'Hope that this helps. | ||
+ | |||
+ | hackerbie@gmail.com 29 April 2010 | ||
+ | ---- | ||
+ | \\ | ||
+ | In my case, using the following made ours work: | ||
+ | |||
+ | <code php> | ||
+ | |||
+ | Took a while but we got there...Also, | ||
+ | |||
+ | v.2010.07a-0 | ||
+ | |||
+ | **** We have also used the following: <code php> | ||
+ | |||
+ | ---- |
tips/image-in-the-upper-right-corner.txt · Last modified: 2014-04-18 11:16 by 82.150.248.37