Pasted images disappear from quiz. Help! (Atto problem?)

Pasted images disappear from quiz. Help! (Atto problem?)

Peter Halverson -
回帖数:5

Hello...  I recently upgraded to moodle 2.7.1

Last night I made a quiz with many images pasted in.    (I did Command-V on my Mac to "paste")

This morning all the images are GONE!

In the attached file, I made and previewed a question.  The image is there.

Next I refresh the question...   The image is GONE! 

Is there a simple solution?  Please?

Peter Halverson

PS: Is this a Atto editor issue?  I think a big change from Moodle 2.4 to 2.7 was going away from TinyMCE editor.

附件 Screen Shot 2014-09-18 at 12.19.30 PM.jpg
附件 Screen Shot 2014-09-18 at 12.19.46 PM.jpg
回复Peter Halverson

Re: Pasted images disappear from quiz. Help! (Atto problem?)

Tim Hunt -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像

We need more information. Can you try:

  • Right-click on the image and Choose inspect element, and see if that shows anything worthwhile.
  • Turn on Debugging. Right click on the image, and choose 'Open in new Tab' or something like that. See if that displays any error messages.

回复Tim Hunt

Re: Pasted images disappear from quiz. Help! (Atto problem?)

Peter Halverson -

Thanks for the suggestions...

Turning on debugging didn't generate any information when trying to load the question with image.

But right-clicking the image did give this interesting result:

webkit-fake-url://FA44AC43-F720-495A-A962-2B5AAE995C4B/image.tiff   is the address of the image and then Safari and Firefox complain that this is an invalid address. (Screenshot attached.)

---Peter

附件 Screen Shot 2014-09-18 at 4.43.03 PM.jpg
回复Tim Hunt

Re: Pasted images disappear from quiz. Help! (Atto problem?)

Peter Halverson -

Update:  A Google search for "webkit-fake-url" related problems uncovers suggestions that the problem is that when you "paste" an image into a web-based text editor, it "looks" like the image was inserted but actually it isn't.

This is confusing.  Perhaps what is happening is that the image appears to be there because of the browser's cache.

Whatever... it made for a very unpleasant surprise.

Peter Halverson

PS:  I seem to recall that in the TinyMCE editor,  pasting images actually did work, as long as they were small.  Like 100x100 pixel.  Am I remembering wrong?

回复Peter Halverson

Re: Pasted images disappear from quiz. Help! (Atto problem?)

Mauno Korpelainen -

You can still use TinyMCE also in moodle 2.7. Default editor was changed to Atto but you can change editor from your user profile or you can change site default editor from site administration menu.

Works fine in TinyMCE.