A problem occurs when dedecms visitors publish an article image.

Source: Internet
Author: User
A problem occurs when dedecms visitors publish an article image. When a visitor publishes an article. The image cannot be displayed. The image address is displayed.

Why is there two src ??????


Reply to discussion (solution)

Post your question and see what the problem is?

Post your question and see what the problem is?





This is the problem. the uploaded image address is like this, and the image cannot be displayed at all.

Wrong. it's your code. let's see what causes the database Image URL field to be added twice.

Check whether the setting in the php. ini file is

: Magic_quotes_gpc = Off

Check whether the setting in the php. ini file is

: Magic_quotes_gpc = Off



Yes.
; Magic quotes for incoming GET/POST/Cookie data.
Magic_quotes_gpc = On


Check whether the setting in the php. ini file is

: Magic_quotes_gpc = Off



Yes.
; Magic quotes for incoming GET/POST/Cookie data.
Magic_quotes_gpc = On



This is the problem.
You need to set it as follows:
Magic_quotes_gpc = Off

I hope my answer will help you. thank you.

Thank you. I converted it using the function. it can be displayed. Thank you.

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.