symfony - Symfony2 Images routes in tinymce with elfinder -
i`am using simfony2 stfalcontinymcebundle , fmelfinderbundle. have problem when puting images fron elfinder tinymce. want image route '/uploads/elfinder/image.jpg' '../../../../elfinder/image.jpg'
my config.yml elfinder is
fm_elfinder: instances: default: locale: %locale% # defaults current request locale editor: tinymce4 # other options tinymce, tinymce4, form, custom , simple fullscreen: true # defaults true, applies simple , ckeditor editors theme: smoothness # jquery theme include_assets: true # disable if want handle loading of javascript , css assets connector: debug: false # defaults false roots: # @ least 1 root must defined uploads: show_hidden: false # defaults false driver: localfilesystem path: uploads/elfinder upload_allow: ['image/png', 'image/jpg', 'image/jpeg'] upload_deny: ['all'] upload_max_size: 2m
tinymce configuration is
stfalcon_tinymce: include_jquery: true tinymce_jquery: true selector: ".tinymce" theme: advanced: theme: "advanced" file_browser_callback : elfinderbrowser plugins: - "advlist autolink lists link image charmap print preview hr anchor pagebreak" - "searchreplace wordcount visualblocks visualchars code fullscreen" - "insertdatetime media nonbreaking save table contextmenu directionality" - "emoticons template paste textcolor" toolbar1: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image | code" toolbar2: "print preview media | forecolor backcolor emoticons | stfalcon | example" image_advtab: true
thanks
Comments
Post a Comment