Questions tagged [verot-upload-class]

7 questions
0
votes
0 answers

Cropper JS with class.upload.php - uncropped image is being saved

I'm using the Cropper JS library and then class.upload.php on an image upload project. I've got everything working except when the PHP script processes the upload, it saves the uncropped version of the image. If I 'inspect' the file input in Chrome…
PeteSE4
  • 413
  • 3
  • 18
0
votes
1 answer

php image upload(verot net) sizing without breaking

what I want to do is actually, I can upload with verot.net, but I couldn't resize. For Example: Normal Photo Size 1000x1500 save the photo I want twice. 1. Keep the size of the picture in its original form. 2. Get 470x705 without cropping the…
Mesut Bla
  • 127
  • 1
  • 7
0
votes
1 answer

PhpMailer Attachment with Verot class.upload.php resized

I'm using class.upload.php to resize an image from a form and I would like to use the resized image on the fly to send it with phpMailer but my code below is not working ;(( The image is not send ! Without sending a mail the resize image works fine…
Chris
  • 435
  • 1
  • 8
  • 21
0
votes
0 answers

Image from db to resize and store on server

I would like to use the following class to resize my image before storing it on my server: https://www.verot.net/php_class_upload.htm?lang=en-GB I have image data stored in a MySQL table encoded as base64. So far I've gotten this far: $data =…
santa
  • 12,234
  • 49
  • 155
  • 255
0
votes
0 answers

Php Verot Upload Class Mysql Not Working

When I register to the database via PHP form, all the data is saved without problems and the picture is moved to the folder, but the picture path does not appear in MySQL. It looks like an Array. This is my code (also here):
0
votes
1 answer

EXIF / rotate image

I've been using a great class to manipulate images for a number of years. class.upload.php Currently I need to be able to determine if the image is side wards and rotate it, to vertical position. I understand that I can…
santa
  • 12,234
  • 49
  • 155
  • 255
0
votes
2 answers

PHP - How to pass class to another class method

Im trying to pass the verot image editing class to a custom class that I created, but it doesnt seem to work, it doesnt do anything when I try to run it. How do I pass the verot image class to my class? //Edit.php //Now I run my class $process = new…
John
  • 9,840
  • 26
  • 91
  • 137