Home >CMS Tutorial >DEDECMS >How to change the picture uploaded by DedeCms to not open in a new window when clicked to open it?

How to change the picture uploaded by DedeCms to not open in a new window when clicked to open it?

藏色散人
藏色散人Original
2019-12-27 09:51:482452browse

How to change the picture uploaded by DedeCms to not open in a new window when clicked to open it?

How can I change the image uploaded by DedeCms to not open in a new window when I click to open it?

This method can be used in conjunction with clicking on the picture to enter the next page. Although clicking on the picture is implemented to enter the next page, the picture will still open in a new window, so just delete the relevant code

Recommended learning: Dream Weaver cms

The modification method is as follows:

Edit and open\include\FCKeditor\editor\dialog\dede_image .php

Search: onclick=\"window.open('$urlValue')\" Delete

Search: Delete

Complete the above two steps and then regenerate the page.

The above is the detailed content of How to change the picture uploaded by DedeCms to not open in a new window when clicked to open it?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn