New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when click imagen browser not working #113
Comments
You need to change CKEDITOR_UPLOAD_PATH - it's not absolute now, but relative against MEDIA_ROOT. |
CKEDITOR_UPLOAD_PATH = 'foo/' (no slash) and then it will upload to MEDIA_ROOT + 'foo/' |
ok thank it work well thak so much |
I did as you said but this line |
if you are using django-ckeditor package then the CKEDITOR_UPLOAD_PATH is absolute. If you are using django-ckeditor-updated then relative. |
I installed django-ckeditor-updated but after that I couldn't even load the editor and a simple charfield just showed. |
you may need to run collectstatic and hard-refresh the browser to reload cached JS. If that doesn't help check if any of static files isn't giving 404. |
"GET /static/ckeditor/ckeditor/ckeditor.js HTTP/1.1" 404 1691I run collectstatic before . |
The file is in the package - https://github.com/riklaunim/django-ckeditor/tree/master/ckeditor/static/ckeditor/ckeditor - so you must check your setup. |
Thank you for your support Problem solved |
Hi when i sutmit imagen all ok the imagen presented in ckeditor, but when i browser imagen no appear anything, this is url:
http://127.0.0.1:8000/ckeditor/browse/?CKEditor=id_texto&CKEditorFuncNum=1&langCode=es
and only see:
Browse for the image you want, then click 'Embed Image' to continue...
and gif ajax but no load any imagen, my configuracion in setting is:
MEDIA_ROOT = os.environ.get('MEDIA_ROOT',os.path.join(BASE_DIR, 'media'))
MEDIA_URL = '/media/'
CKEDITOR_UPLOAD_PATH = os.environ.get('MEDIA_ROOT',os.path.join(BASE_DIR, 'media'))
i used django 1.6.x and this packaged django-ckeditor-updated==4.2.8
what other configuration i need, for browser imagen load??
thank if any help me good direction!! :)
The text was updated successfully, but these errors were encountered: