That was just an example used in this script to ensure a unique file name.
in adition to this uploaded file with the unique file name, like "0123456789-image.jpg".. how can i set this or what aditional code do i need to also make a thumbnail with img filename like; "tn_0123456789-image.jpg" ?
You would need to make the success page dynamic and feed it the link through a query string.
Thanks for this script - I have been struggling to get the uploading of images working properly for a long time!
I am working on dynamic pages without a database. How do I implement a query string to the URL of my file with it's new name. This is going in my upload.success.php file & everything else in my other files is exactly as you have provided in your tutorial.
I realise that the initial part of the absolute url is added to the page itself so it's getting the new file name I'd like help with please.
After some reading, and finding that my issues were, as i suspected, already addressed here...
I have to say thankyou for the excellent script. works beautifully.
I do however have some questions in regards to bypassing the unique file name feature.
Interested in using this code to update (overwrite) a single image manually. - eg: Journal page with an image I can update while in the field.