Status: offline

BirdiePutt

Forum User
Newbie
Registered: 08/24/09
Posts: 3
Is it possible to use the ‘Insert/Edit Image’ button in the advanced editor to, well, insert an image?
I have tried it and this is what happens:

Create new story (the advanced editor is displayed by default)
Enter title
Select topic
Enter a few words in the Intro Text
Click on the Insert/Edit Image button
Up pops the image properties window
Click on Browse Server button
Up pops a window to select existing images (with options to create new folder or upload new files)
Select an existing image and immediately the window closes and goes back to the image properties window.
At this point the image is showing correctly in the Preview box.
When I click ok, the image properties box closes and the image is displayed in the Intro Text.
Click on Save and I see message ‘Your story has been successfully saved’ and takes me back to the list of stories.

So far it works. But…..

View story and I have the broken image/link icon instead of my image.
Go back into edit the story and again I have the broken image/link icon

Am I doing something wrong?
Any help would be appreciated.

I am using Geeklog 1.5.2sr4 on Ubuntu

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
What's the URL of the actual image (i.e. in the saved story) that it's trying to display? Is that URL correct?

bye, Dirk

Status: offline

BirdiePutt

Forum User
Newbie
Registered: 08/24/09
Posts: 3
Switching to Source view......

When I am creating the story the link is:
<p><img height="32" width="32" alt="" src="http://intranet/images/library/image/pdf.gif" /></p>


When I go back to edit the story the link is:
<p><img alt="" /></p>

Thanks

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
I take it you added the img tag to the list of allowed HTML? You will also have to add the width, height, and src attributes as allowed attributes to the img tag.

In the Configuration, click on the (+) button behind the img tag (in the same line), then use "Add Element" to add the required attributes.

As of Geeklog 1.6.0 this is all done automatically (again) when you enable FCKeditor - that was a bug in 1.5.x.

bye, Dirk

Status: offline

BirdiePutt

Forum User
Newbie
Registered: 08/24/09
Posts: 3
Perfect!
I added the attributes under the img tag (which was already there) and it works perfect.

Thanks for your help and keep up the good work.