I use moodle 2.7 and moodle 2.6 in various sites.
I have read other posts addressing this issue before, but it think it has never been resolved.
I use the TinyMCE HTML editor or Atto HTML editor to add images to pages. Images labels look like:
<img src="[my site URL]/draftfile.php?file=/5/user/draft/82886760/img_3_6.png" width="300" height="231" />
I often need to edit the HTML code of pages I create inside courses in order to add some labels to improve style. I paste back the edited code using the HTML editor.
I view the page content before I save the changes and I can see the images without any problem. But when the saved page is displayed, images don't display properly. When I check the code, links to images have changed:
<img src="[my site URL]/brokenfile.php#?file=/5/user/draft/82886760/img_3_6.png" width="300" height="231" />
If I correct the changes I can see the images again in the editor window, but once saved the changes, images dissapear.
The only thing I can do is to upload images via FTP to a folder inside the moodle folder and link those images from the page, but then those images are available by web to users not logged.
I suppose there are more users affected by this bug