Posted on: 03/02/04 02:09pm
By: Anonymous (ViperStrike)
I installed the WYSIWYG editor and I cannot get any of my images to work. I allow the img and image tags in my config but when I try to post an image all it does is change everything to
I am using the latest version of geeklog.
Thanks
WYSIWYG Editor help
Posted on: 03/02/04 02:47pm
By: Turias
Change everything to... what?
WYSIWYG Editor help
Posted on: 03/02/04 03:19pm
By: Anonymous (ViperStrike)
ahh the Filter must have gotten it.
It changes everything to IMG with the
WYSIWYG Editor help
Posted on: 03/02/04 03:23pm
By: Anonymous (ViperStrike)
ugh it filters out the greater and lesser symbols.
basicly the IMG html tag.
WYSIWYG Editor help
Posted on: 03/02/04 05:00pm
By: vbgunz
When you say "the" what do you mean? There are more than a few dozen editors out there, I am certain clearling it up will get you help a lot quicker...
Good luck!
WYSIWYG Editor help
Posted on: 03/02/04 11:33pm
By: Blaine
[QUOTE BY= ViperStrike] ugh it filters out the greater and lesser symbols.
basicly the IMG html tag.[/QUOTE]
Use text mode or the [ code ] bb tags to not filter out your information. Then you can enter any HTML that you need to show. Otherwise the forum is thinking you are entering HTML formatting commands like
<b>This would normally be in bold</b> but it's not.
WYSIWYG Editor help
Posted on: 03/03/04 03:46pm
By: Anonymous (ViperStrike)
Thanks Blaine,
What I was trying to say is that when I preview or save my story my image does not show up and all that is in it's place is <IMG>
I have allowed 'image' and 'img' in the config.php file.
WYSIWYG Editor help
Posted on: 03/03/04 05:16pm
By: Turias
Ah, ok, that's making some sense, now.
You are allowing <img>, but are you also allowing the src, alt, and align attributes? You have to explicitly declare them in the config.php file, along with the tag, itself.
WYSIWYG Editor help
Posted on: 03/10/04 03:59pm
By: Anonymous (ViperStrike)
I still cannot get it to work.
This is what my config looks like:
$_CONF['user_html'] = array (
'p' => array(),
'b' => array(),
'i' => array(),
'a' => array('href' => 1, 'title' => 1),
'em' => array(),
'br' => array(),
'tt' => array(),
'hr' => array(),
'li' => array(),
'ol' => array(),
'ul' => array(),
'code' => array(),
'pre' => array(),
'font' => array(),
'u ' => array(),
'strong' => array(),
'blockquote' => array(),
'img' => array(),
'hspace' => array(),
'src' => array(),
'align' => array(),
'alt' => array(),
'img src=' => array(),
'IMG src=' => array(),
'border' => array(),
'baseline' => array(),
'IMG' => array(),
'div' => array('class' => 1, 'id' => 1),
'image' => array()
);
and this is the code that is creates when I put the image button:
<IMG alt="" hspace=0 src="http://www.domain.com/subdir/picture.jpg"
align=baseline border=0>
in the editor the image shows up but as soon as I post or preview it changes to <IMG>
WYSIWYG Editor help
Posted on: 03/10/04 04:19pm
By: Turias
change
'src' => array(),
'align' => array(),
'alt' => array(),
'img src=' => array(),
'IMG src=' => array(),
'border' => array(),
'IMG' => array(),
image' => array(),
to
'img' => array('alt' => 1, 'src' => 1, 'border' => 1, 'align' => 1),
A little simpler, huh.
WYSIWYG Editor help
Posted on: 03/11/04 08:21am
By: Anonymous (ViperStrike)
That worked!!
Thank you so much for your help.