Welcome to Geeklog, Anonymous Monday, November 25 2024 @ 12:40 am EST
Geeklog Forums
Gallery photos in stories
Lleo_
Anonymous
Maybe this helps, although needs tweaking to be used with GL 1.3.11
Cheers, Lleo_
http://www.andybloch.com/gl/pub/article.php?story=2002070110453661
Cheers, Lleo_
http://www.andybloch.com/gl/pub/article.php?story=2002070110453661
10
14
Quote
Status: offline
Rick78
Forum User
Regular Poster
Registered: 10/20/03
Posts: 98
Hi again,
I was thinking that HTMLArea was a plugin or something. Do you mean just set the text to HTML formatted instead of Plain Old Text?
I have not been able to get any thing to link with those allowed commands.
Could you give me an example of a cut and paste you mean?
If this is a plugin to allow more HTML commands, could you please send me a link to that?
Thanks a lot.
Rick
I was thinking that HTMLArea was a plugin or something. Do you mean just set the text to HTML formatted instead of Plain Old Text?
I have not been able to get any thing to link with those allowed commands.
Could you give me an example of a cut and paste you mean?
If this is a plugin to allow more HTML commands, could you please send me a link to that?
Thanks a lot.
Rick
11
13
Quote
Status: offline
Rick78
Forum User
Regular Poster
Registered: 10/20/03
Posts: 98
This all sounds good, but I am a little confused. If I can't use all html tags in a story normally, how is it possible to add them with an editor?
I mean the story is still saved in the same way and place, right?
I mean the story is still saved in the same way and place, right?
14
13
Quote
Status: offline
samstone
Forum User
Full Member
Registered: 09/29/02
Posts: 820
HTMLArea is just for you to edit the story easier. It won't overwrite your allowed html tags listed in your config.php. Whatever tag you want to use, you need to set it in the config. You can give the admin more tags to use, if you are the only admin.
The html tags that are not allowed will be automatically stripped away when you save the story.
Sam
The html tags that are not allowed will be automatically stripped away when you save the story.
Sam
10
11
Quote
Status: offline
Rick78
Forum User
Regular Poster
Registered: 10/20/03
Posts: 98
Well that sounds like a way better way for me. I can write my own HTML and place that in. I just tried it and some it stays now after I editted th config file.
Why does the content after the img tag dissappear?
I allowed for 'img' and 'src' and tags.
Here is what I place in the text box in the story editor:
<p><a href="http://home2.locke.dk/gallery">
<img border="0" src="http://home2.locke.dk/albums/Inside/P2282705.sized.jpg" width="150" height="112"></a></p>
After a save, this is what is in the text box:
<img></a></p>
I tried without the border and width/heght parameters. Same result.
Why does the content after the img tag dissappear?
I allowed for 'img' and 'src' and tags.
Here is what I place in the text box in the story editor:
Text Formatted Code
<p><a href="http://home2.locke.dk/gallery">
<img border="0" src="http://home2.locke.dk/albums/Inside/P2282705.sized.jpg" width="150" height="112"></a></p>
After a save, this is what is in the text box:
Text Formatted Code
<p><a href="http://home2.locke.dk/gallery"><img></a></p>
I tried without the border and width/heght parameters. Same result.
12
8
Quote
Status: offline
samstone
Forum User
Full Member
Registered: 09/29/02
Posts: 820
This is how you set up permission for the img tag:
Make sure that is only for the admin, for security reason.
Sam
Text Formatted Code
'img' => array('height' => 1, 'width' => 1, 'src' => 1, 'alt' => 1, 'hspace' => 1, 'style' => 1, 'align' =>1, 'border' => 1),Make sure that is only for the admin, for security reason.
Sam
8
10
Quote
All times are EST. The time is now 12:40 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