Image Issues

Image Issues

by Devin Roush -
Number of replies: 4

I am having a very bizarre issue that only seems to be occurring with the HTML editor.

When I am creating a HTML post, if I add in a smiley or image, it displays just fine from within the editor.

Once I save the post, however, the image displays as a "X" with the alternate text.  If I go back in to edit the post again, the image is there!

If I right click on the image (outside the editor) and click properties, there is no information displayed such as URL, etc. 

I have turned the "use slash arguments" off and am simply at a loss as to what the issue might be.

It just seems like once I actually post something created in the editor, any and all images that were displaying just fine in the editor suddenly cannot be found by Moodle.

Help?

Average of ratings: -
In reply to Devin Roush

Re: Image Issues

by Erik Nielsen -

That sounds like a theme issue.

Check the theme you are using and make sure the icons are there.  They are located in:

moodle\theme\ThemeName\pix\s

In reply to Erik Nielsen

Re: Image Issues

by Devin Roush -

I don't believe it's a theme issue...I just switched themes and verified that the "s" folder was contained in it (it is).

I have included 3 screenshots so you all can see exactly what I'm seeing.

Screen1 - the view of the post in edit mode (image displays fine)
Screen2 - the view of the saved/updated post (image does not display)
Screen3 - the view of the image's properties when viewing the saved post.

I am really stumped.

s1

s2

screen3.jpg

In reply to Devin Roush

Re: Image Issues

by Devin Roush -

Ok, so it seems that this is deeper than just the images...

I just tested making some text into a hyperlink (google.com) and updated the post.

The text appears as normal...no link.

So it seems like once I post something to Moodle, any html coding that I had initiated is not kept, but rather, just static text.

Should I try implementing one of the other HTML editors available for Moodle (if so, which one?) or is there something else I should try?

Any input is VERY appreciated!

Note: under the post edit box, the format is set to "HTML format" sad

In reply to Erik Nielsen

Re: Image Issues

by Devin Roush -

I don't know if this will help?

I looked at the source on the post page...this is the tag that Moodle is using for an image I put on the post that shows up when editing the post:

<img title="text" height="35" alt="text" hspace="0" width="35" border="0" />

As you can see, the tag leaves out the crucial "src" attribute.  It's as if Moodle didn't deem that important?

In the editor, the path to the image is listed as:

<img title="text" height="35" alt="text" hspace="0" src="http://oac1moodle.prod.ohioauto.com/moodle/file.php?file=/2/f2.png" width="35" border="0" />

Does anyone have any ideas as to why Moodle is omitting the "src" attribute when posting? 

Any help is very much appreciated!