Originally submitted this for IMCE. Used admin's full html to add image using IMCE. Image was listed in IMCE, and showed on IMCE edit screen. Image would not appear on page until it was attached as a file.
Originally submitted this for IMCE. Used admin's full html to add image using IMCE. Image was listed in IMCE, and showed on IMCE edit screen. Image would not appear on page until it was attached as a file.
Comments
Comment #1
f5design commentedPlease try to reproduce the behaviour and confirm the following:
1) The desired image exists in the expected path under your drupal install
i.e. if imce uploads to /foo/bar/mysite.com/files/u1 - try loading the image via http://mysite.com/files/u1/picture.jpg -- does that work? does it generate an error?
2) Your host doesn't have some automated file twiddling happening (via umask or the like) on the server.
3) You have "full html" enabled as the input format, and there are no custom filters included (which might be removing things you didn't intend :)
I've used IMCE extensively and haven't had any issues like the one you describe. If you could please reproduce the above and post your results, that'd be helpful.
Cheers,
s
Comment #2
MsDetta commentedThere's a long post about this situtation for Windows servers here:
http://drupal.org/node/91624
Using TinyMCE and IMCE with full html, image would not appear as page content. When I tried to edit the page, the image was there, but it still would not display on the page content. When I checked the files/images folder the image was there. However, the only way I could get it to display was to attach it as a file.
No custom filters were used.
Checked the htaccess file and found that magic_quotes_gpc = On. Tried to change htaccess file but it returned another "fatal error".
My host has Linux OS running Apache version 1.3.37 (Unix). Files folder was created with 777 permission. Files/images folder showed 775. When trying to change file/images permission to 777, it showed 777. When trying to resave permission again, returned fatal error. While I could FTP to the files folder, I could not FTP to a subfolder.
I could not find the php.ini file - it isn't in my includes files. I finally contacted my host who managed to turn off the magic_quotes_gpc = On.
Comment #3
bdragon commentedThis is likely a duplicate of http://drupal.org/node/91624.