Ok. Thanks!
Appreciate the help. :)...
User Profile
Collapse
-
how to resize images locally before uploading to server?
Functions using file references to images on my local drive return the file not found warning. The functions work fine if the image has been uploaded to the server, but returns errors when calling information for an image residing on the local drive.
I'm attempting to reduce the upload time for large pictures.
Any thoughts? :)
EXAMPLE
Function call:
imagecreatefrom jpeg("C:\Docume nts... -
Format file references using:
addcslashes($fi leref, "\n\r")...Leave a comment:
-
file reference "\n" characters interpreted as carriage return
Is there a method I can use so functions don't interpret "\n" as a carriage return in file references?
EXAMPLE
Function call:
imagecreatefrom jpeg("C:\Docume nts and Settings\nxxxx\ Desktop\button. jpg");
Results:
Warning: imagecreatefrom jpeg(C:\Documen ts and Settings xxxx\Desktop\bu tton.jpg): failed to open stream: No such file or directory
No activity results to display
Show More
Leave a comment: