Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 07:04 am EST
Geeklog Forums
WYSIWYG Editor help
ViperStrike
Anonymous
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
I am using the latest version of geeklog.
Thanks
14
12
Quote
ViperStrike
Anonymous
ahh the Filter must have gotten it.
It changes everything to IMG with the
It changes everything to IMG with the
11
10
Quote
ViperStrike
Anonymous
ugh it filters out the greater and lesser symbols.
basicly the IMG html tag.
basicly the IMG html tag.
27
8
Quote
Status: offline
vbgunz
Forum User
Full Member
Registered: 01/24/03
Posts: 169
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!
Victor B. Gonzalez -
http://aeonserv.com
Good luck!
Victor B. Gonzalez -
http://aeonserv.com
7
14
Quote
Status: offline
Blaine
Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
Quote by ViperStrike: ugh it filters out the greater and lesser symbols.
basicly the IMG html tag.
basicly the IMG html tag.
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
Text Formatted Code
<b>This would normally be in bold</b> but it's not.Geeklog components by PortalParts -- www.portalparts.com
12
10
Quote
ViperStrike
Anonymous
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.
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.
12
13
Quote
Status: offline
Turias
Forum User
Full Member
Registered: 10/20/03
Posts: 807
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.
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.
14
8
Quote
ViperStrike
Anonymous
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>
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>
12
7
Quote
Status: offline
Turias
Forum User
Full Member
Registered: 10/20/03
Posts: 807
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.
'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.
9
11
Quote
ViperStrike
Anonymous
That worked!!
Thank you so much for your help.
Thank you so much for your help.
10
11
Quote
All times are EST. The time is now 07:04 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content