found this which is nice and quick to implement. It works great but what I want it before the images are uploaded, that they get resized to a max width but keeping the ratio.
Let say i am uploading an image with a width of 5000px, i want this to be…
I'm currently trying to upload multiple image files using a single form (AJAX) and the Bulletproof library.
I managed to get 1 working, the #avatar-upload-input successfully uploads images through the AJAX form.
So in BulletProof's documentation, I follow what I had to do and the image doesn't even get to "echo" phase #2.
https://github.com/samayo/bulletproof/blob/master/README.md
if (isset($_POST['post_blog_submit'])) {
$image = new…
working on a upload image feature for my custom CMS.
I have completed the feature, but have an image when uploading images from mobile devices. Only tested on IOS so far but the issue is:
If the user selects to take a picture and does so in…
I am trying to write a tests for my image upload library Bulletproof.
The problem is that, even though I know the basics of Unit Testing. I have a problem writing one for file uploads.
As far as my experience goes, I have only wrote very simple…
I have used bulletproof php in the past for secure picture file uploads and trying recently for pdf and word files, it responded with an error message : 'Invalid File! Only (pdf, docx) image types are allowed', making me understand it will probably…
I generate a blob jpeg in client side and need to send it to server using ajax and bulletproof php, is it possible without using database ?
Can i convert blob to a file client side so bulletproof can send it to server ?
I use Bulletproof to handle image uploads in PHP and it is awesome. I am now working with a multipart form which will send images as well as other file types (specifically .pdf, .doc and .docx). I saw this question where the author of Bulletproof…
I want to select image from my gallery, and then upload it to my php server. Then the php have to save my image in a directory in my server. But i have a error at loading image to my server and I don't know why.
This is my code from Android:
import…