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.