I'm tp3.2. The class of pictures processed when uploading an editor picture is made with the imagUp.class.php of the UM itself,
Put the UMeditor1.2.2 under the shop/public/statics/.
Image display when uploading images
Use the Bug tool to view the display picture path less shop (project Root path)
You need to modify the UM configuration file umeditor.config.php
Modified, ImagePath: '/shop/upload/image/umeditor/'
<?php window. Umeditor_config = {// add a path to the editor instance, this cannot be commented // /shop/public/statics/umeditor1_2_2/ umeditor_home_ Url:url //Image upload Configuration area /shop/public/statics/umeditor1_2_2/php/imageup.php , imageurl:url+ "php/ imageup.php " //image upload submit address , ImagePath: '/shop/upload/image/umeditor/' //image correction address, reference to Fixedimagepath, If you have special needs, you can configure it yourself (here you can see the path to the file preview and the imageup.php $path is: /.. /.. /.. /upload/image/umeditor/) , Imagefieldname: "Upfile" //Image Data key, if modified here, you need to modify the corresponding parameters in the background file}?>
Umeditor upload image under TP success, preview failed