Problem: Can add upload and add image to fckeditor and save. But image not visible on frontend.. and more..
| Project: | FCKeditor - WYSIWYG HTML editor |
| Version: | 6.x-1.3-rc6 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Hi.
Using drupal 6.8 and latest rec. version of FCKeditor module and ImageBrowser.
Have two languages and i18n module installed.
Drupal is here:
localhost/drupal
I clicked image icon in FCKeditor and got to the dialog.
Then I clicked browse server and got the Image Browser window.
I Choose a file for upload and clicked Upload button.
The image was then uploaded to browser and then displayed in Image Browser window as a thumbnail.
Then I click on the thumbnail in Image Browser to select it and the click Insert next to Original.
URL in Image Properties dialog for FCKeditor are now:
/drupal/?q=en/imagebrowser/view/image/6/_original
Alternative Text are set to:
FredMiranda1.jpg (which is the of the file in the sites\default\files\images directory)
I change the Width and click OK button.
Also note that most of the time the height and width are set to 0, (but if I change it then the image is visible in dialog box (might me a Image browser issue though)).
Image are now visible in the FCKeditor area.
Then I save the content (a page).
If I edit the page again I can still see the image in FCKeditor area, and some text I have written as well.
Problems:
************
Issue 1
************
On my frontend, the image is not visible.
Have tried to do the same for both english and norwegian page but same result, no image show up.
No image is in the content area of the page for that matter (looked at source of HTML from frontend).
Why does image not show up on frontend.
*************
Issue 2
************
If I have only one image in FCKeditor area and rightclick image to get to context menu then this happens:
1. I place mouse pointer above image and right-click....
2. No context menu is visible.
3. When I then move the mousepointer then the context menu gets visible but only Cut, Copy and Paste
are the options in the context menu.
So the Image Properties are missing in context menu.
Then if I have two images in FCKeditor area and rightclick on the second image, then same happens as example above, but now I can see the Image Properties and are able to edit Image Properties.
Is this a bug with the FCKeditor module or a bug in FCKeditor itself (using FCKeditor 6.3)?
****************************************
Issue 3 (might be an Image Browser issue though)
****************************************
When I uploaded an image using Image Browser (started from FCKeditor) then the path returned to that
image was (as mentioned above):
/drupal/?q=en/imagebrowser/view/image/6/_original
When I visit my frontpage (actual frontpage of the frontpage), then the image are displayed there.
Why is it there, and how do I control so it is not displayed there, now?
And how do I prevent newly uploaded images from, by default, be visible there?
If I edit that image from:
Home -> Administer -> Content management -> Content
then I see that parent item are set automatically to PrimaryLinks.
********************
Issue 4
*********************
When looking at Language column for the images I have uploaded, here:
Home -> Administer -> Content management -> Content
using the technique above, I see language are set to "Language neutral".
I like that. But why is "en" an parth of the path to the image or node in the path as shown in URL field of FCKeditor Image Properties dialog?
/drupal/?q=en/imagebrowser/view/image/6/_original
The reason I ask this last question is .. .will there be any problems if I laiter change default language for the site to Norwegian "no"?
Just do not understand why en is part of that path since the node is clearly marked as "Lanugage neutral".
Reagards

#1
Note:
Only issue #2 are unsolved now....
If inserted one image, then when I right-click the image to get context menu, Image properties in Context menu is missing. If I have two or more images, then right-clicking any image after first image then Image Properties are visible in Context menu.... but still not for first image.
If I put the one image only (or first image if more than one images), inside a table, then the Image Properties in context menu are visible....
Weird. !!??
I tested if I could reproduce these issues on FCKeditor.net demo site..... and could not... so this might be a bug with this FCKeditor module...?
Using FCKeditor 2.6.3 ..
Would appreciate a fix for that if possible???
Regards
#2
Please check whether you're able to reproduce this bug here: http://www.fckeditor.net/demo
If yes, then it's a bug in the FCKeditor (the editor).
#3
Hi.
I'm not able to reproduce the Issue #2 in demo site of fckeditor.net.
So it is probably something with the FCKeditor module of drupal....
Regards
#4
Humm I can't reproduce it.
Try the following: create an article with just one image and save it.
Edit it and check whether this issue still exists. If yes, disable the Image Browser module and check it again.
If it's not a strange problem with the Image Browser module (I really doubt it), please let me know does it happen in all browsers.
#5
Same problem here, just with plain fckeditor:
upload an image, it shows up in the editor, it lands in the right spot in the file system, and it doesn't show on the saved page.
My Drupal site lives in
/path/to/my/account/mydomain.com/and the image is correctly uploaded to
sites/all/default/imageWhen I look at the page source, it has this:
<td><img width="302" height="424" align="left" src="../../../../../default/files/image/my_image.jpg" /></td>The error_log shows this:
File does not exist: /path/to/apache/htdocs/default/files/image/my_image.jpgWhich would explain it because firstly that's not where the image is and secondly I have no business in that part of the file system anyway.
Now trying to find out where that path is being set.
#6
Ah!
As usual, I found the solution right after posting here, so FWIW:
there is a fix for this problem described in the file TROUBLESHOOTING.txt.
I actually had followed the instructions there before posting here, but what I didn't do is clear the cache via the button at the bottom of
/admin/settings/performanceNow it seems to do the right thing!
#7
#8
WHere did you find the file "troubleshooting.txt"?
Thanks,
Patrick
#9
Patrick,
If you download and unzip the fckeditor module, then look into the directory, it's right there, along with README.txt. CHANGELOG.txt and LICENSE.txt.
Cheers,
Ronald
#10
There's an online version of that file as well, here:
http://drupal.fckeditor.net/troubleshooting
(I also found out again that "cookie_domain" in sites/default/settings/php needs to be explicitly set in order for the browser to work...)
#11
Closed because of inactivity.