View Files In The popup - laravel

I am creating a project similar to Google Drive and storing my files on S3.
The problem is after upload of files i want it to be viewed in the same popup so that the link is not displayed and user can view the file.
I got my hands with viewerJs but it didn't worked well.
Which other option is better?

Related

Browse images on a server from a form button like when uploading an image

I am very new to Laravel so this may be a trivial one but basically, in a form, I want a choose image button that then allows the user to browse a selection of images from my image storage (s3).
I want them to be able to browse it in the same way as if they were doing a file upload.... but restrict their visibility to being a directory containing all the images on my server, so I guess basically allowing them to browse a directory on the server via windows explorer or finder so they can select an already existing image.
Is that doable? easily?
On my website I have an image section where users can upload images, then in another section I have a form and part of the form allows a user to select one of the uploaded images.
It doesn't matter who uploaded the image, all users should have access to this image bank to choose one for the form.
Any help, advice or a nudge in the right direction would be greatly appreciated!
Many thanks,
Krivvenz.

upload, download multiple binary files

Upon clicking a button, I want to get many files from user, upload them to server, and store them in many records with blob field.
Similarly, clicking a button would download files into user specified local folder.
Any material or direction to do this would be appreciated.
Thanks

How to show photos in Dropbox Chooser window by default?

My application accepts photographs from end-users. They will most likely select pictures that are recently taken. The initial view of Chooser, which shows the file structure of the user's Dropbox folder is therefore far less useful compared to the Photos view. Is there a parameter than can be passed to make the window opens to that view? Just a matter of saving an inevitable click.
I tried to examine the source code but the library appears to be written in Coffee.
There's no way to open a specific folder in the Dropbox Chooser. You can make the UI a bit nicer by using the extensions option to specify only image file types.

Fineuploader open queued items

Is it possible to open files directly from the list of the stored items. I want to implement this function so that the user can check the files before they getting uploaded.
If you would like to allow users to open submitted files in an external application via the browsers by clicking on these files (for example), this is not really possible. The browser does not provide sufficient access to the file system to make this possible. As Mark mentioned, Fine Uploader will already optionally generate previews for images. We intend to look into providing client-side previews for audio and video files in the future as well.

Outlook truncating images

I'm designing an e-mail template for a company and it tests great in everything besides Outlook. For some reason the bottom images of the email look like they're loading half way and then stop. I've found information online that Outlook won't load images with a height greater than 1728px, but the tallest image we have is much shorter than that. There are images beyond 1728px on the page that are loading just fine, so I'm not sure that's the issue. Does anyone have any experience with this? Any advice would be helpful.
Hi Here is a quick solution for this to be done in the outlook.
Use photoshop and follow this steps:
Once the design is over, slice up the image parts / height(1728px as per yout example).
Save this as, File->Save for web and device. click save. you will get option under save box
Under format change this to HTML and image from drop down.
Save them in one folder. A new HTML file and image file will be created in this folder.
Open this HTML file in a browser.
Just copy and paste the content in the outlook using a single cell table.
That's you are done. Now your image will load without any problem.

Resources