Report any technical problems you discover and discuss solutions.

Drawing editor do not import images

  • isalinas
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 4 months ago #1335 by isalinas
Drawing editor do not import images was created by isalinas
Hi,

I am having problems with the Drawing editor tool of XOT: I cannot work with any image using its Import Image button. A dialog window opens, I select the image file, but then nothing happens. I can activate other buttons on this tool but there is no image imported.

It is a light jpg image (~100k), I am using Firefox 2.7, Ubuntu 12.04, and XOT 2.0. I can upload images using other XOT tools like, for example, "Graphics and Sound". And there is no error log, so I am asking you for guidance.

Many thanks,
Iñaki Salinas
Universidad Nacional de la Patagonia Austral

Please Log in or Create an account to join the conversation.

More
12 years 4 months ago #1338 by julten
Replied by julten on topic Drawing editor do not import images
If you use chrome it will work. We had some issues uploading media from FF last year, and fixed them, but must have missed this bit - thanks for flagging it up.
The following user(s) said Thank You: isalinas

Please Log in or Create an account to join the conversation.

  • isalinas
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 4 months ago #1347 by isalinas
Replied by isalinas on topic Drawing editor do not import images
That was the problem indeed. Thank you.

Please Log in or Create an account to join the conversation.

  • isalinas
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 4 months ago #1389 by isalinas
Replied by isalinas on topic Drawing editor do not import images
I realized problem was fixed for FF too now that I upgraded to XOT 2.1. Great :)

Please Log in or Create an account to join the conversation.

  • isalinas
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 4 months ago #1391 by isalinas
Replied by isalinas on topic Drawing editor do not import images
I was wrong. It works on Firefox if the image has been previously loaded on the template.

For example: On Drawing tool, I "Import Image" and select "MyPhoto.jpg". Nothing happens. Instead of that, I first add the optional property "Media Image" to my template, selecting "MyPhoto.jpg". Now I have this image loaded on my media files. Then I return to the Drawing tool, I "Import Image" and select "MyPhoto.jpg" from my filesystem as before, and now works properly. I suppose problem was the image never upload to server, and now that the image was uploaded before, with the very same name, the drawing tool is able to load it on the editor.

Please Log in or Create an account to join the conversation.

More
12 years 4 months ago #1392 by JohnSmith
Replied by JohnSmith on topic Drawing editor do not import images
Yes I suspect it is related to the Flash cookie bug. Flash in Firefox doesn't pass the session cookie with the upload and thus the server ignores it...

You can also upload the file by selecting the LO, clicking Properties button and then going to the Media and Quota tab. Then go back to the Drawing page and attach it again there to get the correct path/filename. Not elegant but a workaround just now.

We are working on a new editor that is all HTML and Javascript based but we will look into patching this in the interim.

Regards,

John

Please Log in or Create an account to join the conversation.

Moderators: ronmjultenJohnSmith
Time to create page: 0.149 seconds
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo