Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By motech on
Hello all ,
This is my first post here ... my problem is that I can't get any pictures from ckeditor and imce modules .. I have a test site on my machine and it works will but in my host when i post any thing with pictures I can't save it or preview ... just text posts appear although its the same configurations ... please any body help me I had try fckeditor and the same problem is happen I had even install drupal and configure it so many times for 5 days I need your help here.
Comments
re: pictures do not appear in the ckeditor and imce modules
I currently use the following modules: WYSIWYG with TinyMCE text editor, IMCE, IMCE Wysiwyg Bridge. The problems and solutions should be similar. Here are some things you can check.
Try to right click on the image text and select Properties to see the path to the image.
Or, use the browser menu -View Source to see the HTML code.
Use an FTP program to view your Files directory and verify the image is uploaded.
Look in Admin >Reports >Status to discover any problems with the CHMOD settings for the Files directory.
Check your Admin Users Permissions list for any permission settings you might have missed.
web hosting
thank you ashford ... I had check paths and its good and permissions too so I try hot linking and its not working too ... then I signed up on a free web host and install the project with all my configuration all the same and it works . in my host when i try to post any thing blog,page,poll with text its work but when i try to put any image I get page not found.
now I'm confused and don't know what is going on is it my host?
it had unlimited disk space , email accounts , bandwidth , databases , sub domains , ftp accounts , etc
its uses cpanal , Linux operating system
I don't know what to do .. I contact them for this problem or I will stick with the free one ... bad luck
Reiterating...
Check the following:
1. Are the image files physically present on the server? Use an FTP program to check and see. If you can't find any uploaded image files, then
a. check permissions on the "sites/default/files" directory, and ensure that it (and all contents -- files and folders) are set to writable, and
b. verify that you have an tmp/image directory in the base of your Drupal install if you're using image import, and that the tmp and the image directory beneath it are writable.
2. After verifying that the files are there and/or the permissions are ok, go into Drupal and check to ensure that your image paths are correct.
3. Once you've checked the above, open a post that should have had image content. Edit / input format. Make sure that it's set to Full HTML.
If all else fails, can you at lease import images or create an image content type, and load images to a gallery?
I have the exact same problem
I installed ckeditor and IMCE (properly I'm assuming since it worked on a local server). The images seem to upload just fine, the sites > default > files folder contains all my images, but when I hit save after uploading an image, it does not appear!
Even when I inspect the html of the element, I can't find anything - it's like it disappeared.
So what to do
Anna-G Thank you , I was think its just my problem now its not. I had connect my host and the answer is nothing WOW ... so please some body tell us what to do . Is there any modules else or what is happen here ? . I had Try Fckeditor , Tinymce still not working in this host service should I cancel my account and use the free host or what .
Which input filter you are
Which input filter you are using is it a full html...? Try checking for input format in site configurations.
Drupal might be stripping or filtering your tags.
Acquia certified Developer, Back end and Front specialist
Need help? Please use my contact form
INPUT
full html ,filtered html , php I had try all and nothing thank you but that is not the problem to me ... I know about drupal (little) and what input to use .
It should be full html.
From what I've encountered, whenever I've had WYSIWYG installed, the input format type on a post should be full html or the images won't show up.
See my post above for some explicit steps to check -- I reiterate a few elements that an earlier poster (Ashford) asked you about but which you didn't seem to respond to, and those are kinda crucial for any further debugging.
All checked
So sorry GreyHawk I didn't notice your post . really I had check all permissions and paths and input filter is full html I know that i must use it with images . like I said before and try it on my xampp server and even on a free web host with same settings and it work . That's makes me mad when I try to made a post that have images it turn me to page not found so I did uninstall all other modules but ckeditor and imce and nothing happened so I uninstall all drupal from the server and start over again none , Then I had try wordpress you know what happen the same " page not found " I don't know why . Please I need answers and I'm ready to give any details.
The "page not found" issue is really weird.
Unless there's a user permission about viewing image content that wasn't set within Drupal...?
One way to eliminate this, if it's an internal Drupal permissions error and not a file permissions error on the server, is to download and install the Admin Role module, and ensure you've got an Administrator role assigned to the admin user that you can then point Admin Role to.
That will make sure that you won't have any user/role permissions issues when trying to view content (tho, if you're in as admin, you should have full access anyway).
I've got to take a break for a couple hours, but when I get back maybe we can figure out a way to work through this...
Very weird issue... :/
upload drupals default
upload drupals default .htaccess file in the document root and check
Acquia certified Developer, Back end and Front specialist
Need help? Please use my contact form
upload drupals default
upload drupals default .htaccess file in the document root and check
Acquia certified Developer, Back end and Front specialist
Need help? Please use my contact form
Removed "Limit Allowed HTML tags"
Just wanted to say thanks GreyHawk! I have WYSIWYG with CKEditor enabled on another site of mine, and I couldn't for the life of me figure out what I had to change to get it to work (I don't like to modify the existing text formats), and your post made the thinnk
My culprit was "Limit Allowed HTML tags" that needed to be unchecked, for obvious reasons...
I'll just blame it on the lack of sleep :P
Weird is not the right word it's ...........you know
thanks again GreyHawk youare a good person like all drupal users . And thank you Sagar Ramgade too you know what I didn't check .htaccess ask me why ? cause i had install drupal many times and I hadn't change any setting on this file ... really it's the host I know that , and the answer is to change it .
so I had sign up in with anew one . Thanks to you all
Really weird is not the right word
FIXED IT
LOL it was such a simple thing in my case - make sure when your adding images to have the input set to "Full HTML"
A better fix
You can enable images in "Filtered HTML". Just add "img" to "Allowed HTML tags". I'm sure the developers default it to "Filtered HTML" for a reason, =)
I'm glad everyone else sorted
I'm glad everyone else sorted their problems out, but now I'm having the same problem.
I'm using drupal on wamp server with the ckeditor.
I have checked the following:
- File is definitely there in www/sites/default/files.
- Path is sites/default/files/logo.png for the image properties.
- No directory problems - its local
- Input is set on full html.
- I am the administrator adding it so no user roles permissions.
When I click on source it gives me this:
Is there anything else that I could look for?
Mseraphim
Fixed it
It seems that my mistake was with my picture path. I didn't have the ../../ in front of the url.
../../sites/default/files/logo.png
Hope this information helps whoever has the same problem.
Mseraphim
Issue with leading slash in IMCE
I'm using CKEditor and IMCE. When I go through the process of selecting an image, I get a red box with a large white X in it. The URL indicating the image cannot be shown. The URL in the IMCE Image Properties box shows up with a leading slash (/), like this:
sites/default/files/image.png
If I type in the leading slash and hit Okay or click on the image size recalulator arrow, the image appears.
My question: How do I get IMCE to include that leading slash?
I'm having a similar
I'm having a similar problem.
I'm using CKEditor with IMCE.
When trying to add an image, CKEditor works fine if I give it a URL myself. IMCE works fine for uploading.
The only part that doesn't work is the URL that IMCE is returning.
It is of the form /userfolder/filename if relative and sitename.com/userfolder/filename. It should be /sites/default/files/userfolder/filename.
Anyone have any idea how to fix this?
Try full path for images
I had trouble with a different module and the slash marks in the file path. The easiest fix was to put the complete path.
http://mydomain.org/sites/default/files/path/to/image.jpg
I am not familiar with the module you are using. Ignore me, if it does not allow you to enter the path.
I fixed this by updating to
I fixed this by updating to the latest dev version of IMCE
You're right parasox. Works for me!
Yes parasox, you're right when you suggest to upgrade to the last version of IMCE.
I had the same problem of path with IMCE.
I've updated to the last version (6.x-2.0-rc2) and it works fine.
Problem gone.
Drupal Rocks!
Re:image not appearing on front after inserting using ckeditor
I am also getting the same issue, and solved it but re-configuring from admin-> site configuration-> Input formats
Allow the < i m g > tag to stop filtering the image tag from your posting content. Hope this helps.
wrong path
I have also this problem.
I checked in my localhost ( my home computer - wamp) and the path is localhost/sites/.... my site folder is missing!
I changed the base url on the settings file to localhost/sitefolder and still have the issue?
How can I fixed that?
Thanks/
Just wanted to say thank! I
Just wanted to say thank! I have WYSIWYG with CKEditor enabled on another site of mine, and I couldn't for the life of me figure out what I had to change to get it to work (I don't like to modify the existing text formats).
My culprit was "Limit Allowed HTML tags" that needed to be unchecked, for obvious reasons...
I'll just blame it on the lack of sleep :P