spohlenz / tinymce-rails

Integration of TinyMCE with the Rails asset pipeline
Other
813 stars 256 forks source link

unable to display the image #160

Open rasool-sb opened 9 years ago

rasool-sb commented 9 years ago

Hii, Am using tinymce-rails 4.1.5, after giving the link of the image in source field and then clikc on OK button, the image not displaying in the text area box, I took the screenshot for verification., Please I need your kind help., Thank you.

tinymce-rails image upload error

Please let me know if you need some more details.,

My environment details are: Ubuntu 12.04, Ruby 1.9.3 Rails 3.2.19 Tinymce-rails 4.1.5, Firefox 32, please help me!

spohlenz commented 9 years ago

Are you entering the full URL (include http://)? Can you use your browser's inspection tools to see what the src of the image tag is being set to?

rasool-sb commented 9 years ago

Hi @spohlenz Thank you so much for your reply, Yes, am using full path including https://, in my firefox browser's inspection and console i found no error, here is the browser's inspection details.

  <p>
      <img width="250" height="250" alt="" src="https://www.google.co.in/search?q=fun+images&
      client=ubuntu&h…ng-for-cvent%252Ftechnology-as-a-fun-facilitator%3B490%3B493" 
      data-mce-selected="1"></img>
      <br data-mce-bogus="1"></br>
  </p>

I found another issue, please kindly check, If I copy and paste the image itself (not with the link) by using CTRL+C and CTRL+V in to the tinymce-rails text_area field, I think very strangely it converts image in to text and then it text in to image, in conversion it is making huge server log, and the size for log file for just 100kb image is 500KB, unfortunately am unable to attach the log file because github wont support for this kind of files, is there any other source so that i can send you a log file ??? please kindly check and please kindly help.!