I’m working on a upload script with some functions.
I want my user to upload image to a spesific page, save some data to database.
But when i test with image that have special chart and white space, this will not work. i live in norway, so many have special chart in their images.
How can i trim the image name before this is saved and have a preview on sceen after upload. now there is nothing saved and nothing shown.
this is my code. (it refer to the orginal sync.php)
<form action=”sync_kjede.php?id=<?php print $resultat ?>” method=”post” enctype=”multipart/form-data”>
Fra Dato <input required=”required” id=”start” name=”start” type=”date” >
Til Dato <input required=”required” id=”stop” name=”stop” type=”date” >
Navn: <input id=”navn” name=”navn” type=”text” >
<button type=”submit”>Last opp!</button><button onclick=”showhide(‘edit_image’)”>Avbryt</button>
i renemed the sync.php to sync_kjede.php
I copy-pasted the code found on http://preview.codecanyon.net/item/html-5-upload-image-ratio-with-drag-and-drop/full_screen_preview/8712634 and put all the files where they belong but when I try to resize the image with the Zoom-in Tool, it just gets out of the canvas by sliding to the left. If I try to move it, the image just goes back to its initial state and doesnt resize at all.
What did I do wrong ? What should I do ?
I have bued this script.
I’m trying to integrate this to a website.
But i live in norway, and there are some files that have norwegian chart in filname.
How do i clean filename before upload.
I have tried, but failed.
When i upload a file that contains norwegian chart, there is no output.
Where in the form.php can i add something, and what do i need to add.
The special chart in filename can be removed, doe’s not need to be replaced.
Hi.. amazing work. Can you let me know when the rotate functions (we found them in JS files) but only rotates 90 degrees then stops. Were assuming this is a feature in progress? (lines 32-33 in the html5ImageUpload.js
Can you let us know when this feature (which we’d love to have) will be available?
Cheers and thx again!
Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
Use, by you or one client, in a single end product which end users can be charged for. The total price includes the item price and a buyer fee.
View license details
Get it now and save up to $4.50