FCK upload picture does not display picture resolution

Source: Internet
Author: User

A problem like this is path problems or directory permissions issues as follows

Open the editorfilemanagerconnectorsphp tutorial config.php
Modify
$Config [' userfilespath '] = '/abc/ddd ';
That is, the directory under the root directory of the Web site abc/ddd as FCKeditor.

Today, upload pictures with fckeditor, pictures can upload success, but the preview shows a fork, the front desk is not shown

Made a half-day also did not find the reason, and then again to download a few online, or not, depressed bad, and finally combined with the use of other editors, just know is the Configuration folder upload folder path write wrong

For example, to upload the userfiles under the root directory of the project, the Web.config configuration is as follows:

<appSettings>
<add key= "Fckeditor:basepath" value= "~/fckeditor"/>
<add key= "Fckeditor:userfilespath" value= "/userfiles/"/>
</appSettings>

The above is uploaded to the server in the configuration, this confidential test will be changed to

<appSettings>
<add key= "Fckeditor:basepath" value= "~/fckeditor"/>
<add key= "Fckeditor:userfilespath" value= "/web/userfiles/"/>
</appSettings>

Novice Note:

One: Grammatical errors
Two: Less with one or a few semicolons
Three: The procedural logic is problematic
Four: There are problems with the transfer of variables
Five: The picture does not exist

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.