Problems uploading images with extra dots (.)

See all posts See thread Reply

Re: Problems uploading images with extra dots (.) new!
by Marcelo, 14 years, 8 months ago
Okay, here is:

system information
- class version : 0.29
- operating system : Linux
- PHP version : 5.2.12
- GD version : 2.0.34
- supported image types : png jpg gif bmp
- open_basedir : no restriction
- language : en_GB
source is an uploaded file
- upload OK
- file name OK
determining MIME type
- Checking MIME type with Fileinfo PECL extension
Fileinfo PECL extension not available
- Checking MIME type with UNIX file() command
MIME type detected as image/jpeg by UNIX file() command
- MIME validated as image/jpeg
source variables
- You can use all these before calling process()
file_src_name : P050310_11.12.JPG
file_src_name_body : P050310_11.12
file_src_name_ext : jpg
file_src_pathname : /home/marcelodea1/tmp/php62g5et
file_src_mime : image/jpeg
file_src_size : 790585 (max= 67108864)
file_src_error : 0
- source file is an image
image_src_x : 2592
image_src_y : 1944
image_src_pixels : 5038848
image_src_type : jpg
image_src_bits : 8
process file to temp/
- file size OK
- file mime OK : image/jpeg
- new file name ext : jpeg
- new file name body : 67
- file name safe format
- destination variables
file_dst_path : temp/
file_dst_name_body : 67
file_dst_name_ext : jpeg
- image operation, change extension for conversion type
- checking for auto_rename
- destination file details
file_dst_name : 67.jpeg
file_dst_pathname : temp/67.jpeg
- 67.jpeg doesn't exist already
- image resizing or conversion wanted
- error: Error in creating JPEG image from source.
Reply