Hai ,
I have problem with image link in ckeditor.I have given all permissions clearly but image is not appearing in browser.i provided screenshots of my proble please see it and tell me what is prblem.

my path is /sites/default/files/pages/filename

pages is the folder i have created here to store mt basic page images.

CommentFileSizeAuthor
ckeditor3.png270.35 KBsahithi
ckeditor2.png358.69 KBsahithi
ckeditor1.png259.84 KBsahithi
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

davidwhthomas’s picture

Normally, this would be solved by setting the text format for the body field to "Full HTML" or allow images in "Filtered HTML" under text format settings. The text format select box is normally found under the related textarea.

However, in your case, it looks like you're missing the leading slash off the image url i.e /sites/default/files/image.jpg

sahithi’s picture

while using /sites/... image is not displaying

davidwhthomas’s picture

It could also be in issue with your non-standard subfolder install.
Unless multisite, it's recommended to create a virtualhost & document root for each site.

dczepierga’s picture

Status: Active » Postponed (maintainer needs more info)

@sahithi, which text format do u use?

Greetings

sahithi’s picture

Full HTML

salytwo’s picture

Issue summary: View changes

I have the same problem, and I added the tag <img> to be allowed. but still it showing in the preview or during editing.
I tried used full HTML, also same result.
I have drupal 7 and ckeditor, IMCE modules

so you help me.

Thank you all.

Stone Liu’s picture

I am having the exact same problem. Link image and shows fine on local machine, but when go live server the image just don't display.

https://drupal.org/node/2229763

Thanks for any hint anyone could shed:)

francescosciamanna’s picture

Just add <img> to the list of allowed tags of your /admin/config/content/formats/filtered_html, and the Pictures will reappear.

teggsdgreat’s picture

just go to "admin-config-content authoring-text formats" and uncheck "display any HTML as plan text" this worked for me.

VM’s picture

Assigned: sahithi » Unassigned
Priority: Major » Normal

Support requests are normal. Removing assigned designation as OP did not provide a patch.

angms-bh’s picture

Just adding img alone does not work when working with IMCE from what I can tell. You need to add
img[src|width|height|alt|title]

angms-bh’s picture

If you are working with IMCE and using the WYSIWYG filter, you will need to allow for the image alignment and resize as well. These are the settings needed in the WYSIWYG filter settings under admin/config/content/formats/filtered_html

@[style],
    img[src|width|height|alt|title|style],
    

Then under WYSIWYG filter settings, you need Check the style options of Dimension properties, Positioning properties, and Layout properties. Specifically, you need the following
Dimensions properties: height, width
Positioning properties: left, right
Layout properties: float

Toche’s picture

#8 worked for me!
I don't understand why is not predefined by default!!

sam452’s picture

This still is an issue, even using ckeditor version 7.x-1.18

This Drupal 7 app is using ckeditor set for "Full HTML". I was able to insert the image and save it for display.
But editing it in the ckeditor window is fruitless without resorting to Source view, which is a non-starter for customer.

Reading these comments, it appears I have to turn ON "Limit allowed HTML tags" for "Full HTML" in /admin/config/content/formats/full_html
and then try to input every combination of elements that could be used?
Tried that, added Only local images are allowed. and still failed, after clearing the cache.
Options for formats/full_html are

  • Convert URLs into links
  • Convert line breaks into HTML (i.e.
    and

    )

  • Cor

rect faulty and chopped off HTML

And in /admin/config/content/ckeditor/edit/Full
No other options are enabled, including wysiwyg filter. Only Drupal Core.
As a test, the Advanced Content Filter is disabled.
Thx for any pointers, sam

Vako’s picture

I tried all the above suggestions and still can't see the images in Edit mode. However visitors can see the images.