There are plugins https://octobercms.com/plugin/fireunion-blogfront and https://octobercms.com/plugin/responsiv-uploader Need to upload pictures to post

Here is the page code:

title = "testupload" url = "/testupload" is_hidden = 0 child_of = "mey_no_parent" hide_crumb = 0 remove_crumb_trail = 0 crumb_disabled = 0 [Ajax] use_authors = 1 restrict_owner = 1 backUser = 1 allowpublish = 1 postPage = "blog/post" [Responsiv\Uploader\Components\ImageUploader imageUploader] placeholderText = "Click or drag images to upload" maxSize = 5 fileTypes = ".gif,.jpg,.jpeg,.png" imageWidth = 100 imageHeight = 100 imageMode = "crop" == <?php function onInit() { $this->fileUploader->bindModel('photos', ????????? ); } ?> == {% component 'Ajax' %} {% component 'imageUploader' %} 

I just can not figure out what should be instead of questions? Are there any examples?

  • octobercms.com/plugin/responsiv-uploader Here in the "documentation" section there is an example of use, in which instead of ???? Set the model id - Anton Kucenko
  • Thank. Model and method by tyke found - vlad visitor

0