Announcement

Collapse
No announcement yet.

CKEditor Drag and Drop Image Upload

Collapse
This topic is closed.
X
This is a sticky topic.
X
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • glennrocksvb
    replied
    Originally posted by William View Post
    Pretty sure I followed the instructions fully. However, when dragging and dropping an image nothing happens. No error or anything, just nothing.

    William
    I still have access to your site. I tried it and it works.

    Click image for larger version

Name:	hWfOEG.png
Views:	110
Size:	262.4 KB
ID:	6543

    Try clearing your browser cache

    Leave a comment:


  • William
    replied
    Ouch, it doesn't work here either in my Firefox browser. Tried Edge and it works on my forum.

    Leave a comment:


  • William
    replied
    Pretty sure I followed the instructions fully. However, when dragging and dropping an image nothing happens. No error or anything, just nothing.

    William

    Leave a comment:


  • glennrocksvb
    commented on 's reply
    Nice!

  • Fleiding
    commented on 's reply
    No issues during the installation.

  • glennrocksvb
    commented on 's reply
    Thanks for the feedback. Were you able to install the mod without issues?

  • Fleiding
    replied
    Awesome mod, Glenn!

    Leave a comment:


  • glennrocksvb
    replied
    I have replaced the readme file with HTML format. I confirmed that copying and pasting the code now preserves the correct linebreaks. Buyers of this mod have been emailed with the new download link.

    Thanks willie53 for reporting this issue.

    Leave a comment:


  • glennrocksvb
    commented on 's reply
    Ok, I checked and confirmed Adobe messed up the linebreaks. I will replace the readme.pdf with a different file format. Thanks for reporting this.

  • Fleet
    replied
    Click image for larger version  Name:	IMG_0889.png Views:	1 Size:	643.7 KB ID:	6480
    Last edited by glennrocksvb; 10-03-2017, 08:11 AM. Reason: Resized image too big

    Leave a comment:


  • willie53
    replied
    They are not on one line i think that is the way adobe inserts wrap around as seen below
    Click image for larger version

Name:	wrap.png
Views:	105
Size:	29.0 KB
ID:	6478

    Leave a comment:


  • glennrocksvb
    commented on 's reply
    Glad you sorted it out. Those comments should be in one line. Are they not in one line in the readme? They may wrap with soft line breaks due to space limitation but when copy pasted in the editor, it shouldn't insert hard line breaks when the line wraps.

  • willie53
    replied
    Got it sorted
    The problem was the way the edits were parsed as seen below
    Code:
    [COLOR=#006400]// the image inserts (<img> element in the editor body & hidden inputs in the[/COLOR]
    [COLOR=#FF0000]form) are handled as part of closeFileDialog() (normally would be handled by
    the onOk handler of the dialog)
    echo "window.parent.vBulletin.ckeditor.closeFileDialog('$editorId', " .
    json_encode($info) . ");";[/COLOR]
    Green commented out
    Red not commented out
    Just commented all out and that sorted it

    Leave a comment:


  • glennrocksvb
    commented on 's reply
    Double check the PHP changes. Make sure there are no syntax errors. Enable debug mode to see the detailed error in dev tools Network tab.

  • willie53
    replied
    almost there getting green box with file upload success but directly following this i get
    Click image for larger version

Name:	http.png
Views:	440
Size:	2.4 KB
ID:	6467

    Leave a comment:

Users Viewing This Page

Collapse

There is 1 user viewing this forum topic.

  • Guest Guest

Latest Posts

Collapse

Working...
X
Searching...Please wait.
An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

Please push the back button and reload the previous window.'
An unexpected error was returned: 'Your submission could not be processed because the token has expired.

Please push the back button and reload the previous window.'
An internal error has occurred and the module cannot be displayed.
There are no results that meet this criteria.
Search Result for "|||"