TYPO3: Flag to add teaser images directly - permissions

I'm adding a user group as writer currently, but I'm can't add new images directly as teaser pictures in the resources tab. I can access the resources tab but doesn't see the "upload new picture" button.
Does anybody know, which flags I need to upload teaser pictures directly?
Thanks in advance.
Greetings

Your usergroup needs access to the user_upload folder.
If not the inline upload will not show.
Default the user_upload = fileadmin/user_upload this can be adjusted in userTS
Also make sure the user has the setting inline upload enabled.

To improve the answer of minifranske.
You can set a specific upload folder with TSConfig:
options.defaultUploadFolder
https://docs.typo3.org/typo3cms/TSconfigReference/UserTsconfig/Options/Index.html#defaultuploadfolder

Related

thumb: true not showing thumbnail preview in keystonejs

I want to show at least the path of locally uploaded file ,how can I achieve in keystonejs , I found How to show uploaded image in Keystonejs back-end also I pulled ncecessary changes but it is not thumbnail preview,can someone please help me? I need this feature as a non tech person also can use this.

Example or template on how to do file upload in Google AppMaker

can anyone share with me the .zip file for Document Approval template because I can't open it since I'm not using GCS but I wanted to go through how they using Drive Picker widget to upload file and so on.
another thing is, where the file will be uploaded to? is it the owner's Drive? is it possible to upload the document to a single folder of a Team Drive instead? Really appreciate it if anyone can share with me some thoughts or any API will do, Thanks!
The only way to upload files that App Maker provides out of the box is Drive Picker widget and by default it uploads files to current user's Drive root folder. Drive Picker's API allows to change default upload folder, however App Maker doesn't expose the setting at this time. But it has onPickerInit event that provides you with pickerBuilder that you can use to customize your the picker:
// onPickerInit Drive Picker's event handler
var uploadView = new google.picker.DocsUploadView();
uploadView.setParent('ID of the folder to upload to');
pickerBuilder.addView(uploadView);
This trick works both for personal and Team Drive folders.
Note
It seems that setParent works only in combination with MULTISELECT_ENABLED drive picker feature enabled.
Right now, looks appmaker seems to ALWAYS adds an upload tab itself, so if I add another uploadview, I end up with two upload tabs, the first one uploading to the main folder and selected by default :(
My best guess for a workaround is to not add my own upload view, let the picker upload the file to the main folder, and move the file in the onSelect hook to its final destination. If there's a better way, I'd love the hear.

how to implement cross-component upload progressbar in AngularDart

I have been implementing a small AngularDart projecjt which contains serveral components. One of those components can upload file to server. I would like to implement an upload progressbar that keep upload the file and show upload progress while user navigate to other components. (like other file upload website such as Dropbox, Google Drive. User can go to other section of website while the uploading keep working). Is there any guide or solution to implement such functiionality? (For now, I can implement asynchronous upload and progressbar yet.The Problem is get it to work across components.)
Thanks for any help. :)
PS. sorry for my broken English.
You can implement your GUI in a view and place it using ng-view. When you put your progress bar outside the of the ng-view it should stay on the screen when the view changes.

How to view/Open dropbox file

I am developing and android app, where i want to get all files from drop box. Now i can retrieve all files from drop box and display it in List View. Now i want to open/display the file when i click on the List View. I don't know how to open Dropbox file, with which manager or which method??? please help
I was using this method to open/display Google Drive file, but i don't know how to use the same method here for Dropbox.
String ur = "https://docs.google.com/file/d/"+fileID;
Intent i = new Intent(Intent.ACTION_VIEW);
i.setData(Uri.parse(ur));
startActivity(i);
Unfortunately this is not possible.
I posted in their forums and got a negative response. Hopefully it'll be functionality they look to support soon.

How to upload photos using CakePHP 2.0

I'm developing a simple web app and I just want to allow the user to upload some pictures.
should I just store the picture url on my database table or should I upload the whole picture?
how can I validate the size of the picture being uploaded?
how can I upload the picture from my controller?
thank you all!
I would NOT store the image data in the database. I would create a Behavior that will upload the image to the image directory and store a reference to that image. The behavior can then handle size, mime type, etc. Then add a file upload form to the controller and when the data goes to the model to be saved, it will automatically upload the image and put it where it goes.
If you do not want to build your own, here is a very popular behavior that someone has built.
https://github.com/jrbasso/MeioUpload
Or you could try this simple way of doing it (check the readme.md file) :
https://github.com/malikov/cakephp2.0-image-upload