Can't upload jpeg avatar?
cosmin 269
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Can't upload jpeg avatar?
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Can't upload jpeg avatar?
Yes, because it will resize anything (including smaller images) to 85px
Yes, because it will resize anything (including smaller images) to 85px
1 Re: Can't upload jpeg avatar?
cosmin
OP
269
From: -
From: -
Can't upload jpeg avatar?
Originally posted by cosmin:
Are you sure this is related to resizing?
The default avatar width in CT is 85 (at least in Preview 2), and the animated gif with the dropped frames is 80px x 80px, and it still drops the frames.
[Edited by cosmin on 2007-12-15 13:59:32]
Originally posted by cosmin:
In cadmin of 1.8 it says "running PHP version 4.4.2 and MySQL 4.1.22-standard with InnoDB tables"
CT is installed on the same server in a subfolder.
This is a limitation of GD. Contentteller always resize avatars to the default width. I will make this optional in one of the next releases.
You mean it doesn't have support for GIF? I thought I read somewhere that they needed to pay a license?
Does imagemagick have the same problem?
Softpedia seems to be using Invision Power Board and they allow animated avatars.
Are you sure this is related to resizing?
The default avatar width in CT is 85 (at least in Preview 2), and the animated gif with the dropped frames is 80px x 80px, and it still drops the frames.
[Edited by cosmin on 2007-12-15 13:59:32]
1 Re: Can't upload jpeg avatar?
Rushian 0
From: -
From: -
Can't upload jpeg avatar?
Originally posted by cosmin:
Yeah, gotta love IE!! ;(
Originally posted by cosmin:
Wow. I hadn't even noticed it changes file type. You know your stuff.
Yeah, gotta love IE!! ;(
1 Re: Can't upload jpeg avatar?
cosmin
OP
269
From: -
From: -
Can't upload jpeg avatar?
Wow. I hadn't even noticed it changes file type. You know your stuff.
Wow. I hadn't even noticed it changes file type. You know your stuff.
1 Re: Can't upload jpeg avatar?
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Can't upload jpeg avatar?
Thanks cosmin.
It appears that anything Internet Explorer based is sending image/pjpeg as mime type for progressive jpegs. All other browsers are always using image/jpeg. I will add support for image/pjpeg in the next preview release.
Thanks cosmin.
It appears that anything Internet Explorer based is sending image/pjpeg as mime type for progressive jpegs. All other browsers are always using image/jpeg. I will add support for image/pjpeg in the next preview release.
1 Re: Can't upload jpeg avatar?
cosmin
OP
269
From: -
From: -
Can't upload jpeg avatar?
http://www.file-portal.net/ess20/avatartest.php
File name sinistersn9.jpg
Tmp name /tmp/phpUNKRQ9
File size 9463
File type image/pjpeg
File name sss.gif
Tmp name /tmp/phpJEs1o4
File size 18502
File type image/gif
http://www.file-portal.net/ess20/avatartest.php
File name sinistersn9.jpg
Tmp name /tmp/phpUNKRQ9
File size 9463
File type image/pjpeg
File name sss.gif
Tmp name /tmp/phpJEs1o4
File size 18502
File type image/gif
1 Re: Can't upload jpeg avatar?
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Can't upload jpeg avatar?
Your installation has gif support after Contentteller resized and remove the animation. Other solutions such as Invision Power Board are not resizing the image automatically.
I will not support imagemagick because it needs to be called from the command line. There is an imagemagick extension for PHP but it is still experimental and not installed on many servers.
I will send you shortly a test script. Please upload the avatar in question with this script and post the result here in the forum.
Your installation has gif support after Contentteller resized and remove the animation. Other solutions such as Invision Power Board are not resizing the image automatically.
I will not support imagemagick because it needs to be called from the command line. There is an imagemagick extension for PHP but it is still experimental and not installed on many servers.
I will send you shortly a test script. Please upload the avatar in question with this script and post the result here in the forum.
1 Re: Can't upload jpeg avatar?
cosmin
OP
269
From: -
From: -
Can't upload jpeg avatar?
In cadmin of 1.8 it says "running PHP version 4.4.2 and MySQL 4.1.22-standard with InnoDB tables"
CT is installed on the same server in a subfolder.
You mean it doesn't have support for GIF? I thought I read somewhere that they needed to pay a license?
Does imagemagick have the same problem?
Softpedia seems to be using Invision Power Board and they allow animated avatars.
In cadmin of 1.8 it says "running PHP version 4.4.2 and MySQL 4.1.22-standard with InnoDB tables"
CT is installed on the same server in a subfolder.
This is a limitation of GD. Contentteller always resize avatars to the default width. I will make this optional in one of the next releases.
You mean it doesn't have support for GIF? I thought I read somewhere that they needed to pay a license?
Does imagemagick have the same problem?
Softpedia seems to be using Invision Power Board and they allow animated avatars.
1 Re: Can't upload jpeg avatar?
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Can't upload jpeg avatar?
Interesting, it works fine here. Which PHP version are you using?
This is a limitation of GD. Contentteller always resize avatars to the default width. I will make this optional in one of the next releases.
Interesting, it works fine here. Which PHP version are you using?
frames being dropped from animated gif files
This is a limitation of GD. Contentteller always resize avatars to the default width. I will make this optional in one of the next releases.
1 Re: Can't upload jpeg avatar?
cosmin
OP
269
From: -
From: -
Can't upload jpeg avatar?
I just sent you an email with the problem details, the images in question, and details about a new problem I discovered as I was writing the message (frames being dropped from animated gif files and a screenshot).
I thought at first that the default avatar width of 85 was preventing the upload since the jpeg was 127px wide but it still fails to upload after I set the allowed width to 200. I also tried setting "Automatically approve each new avatar" to yes but still the problem remains.
I just sent you an email with the problem details, the images in question, and details about a new problem I discovered as I was writing the message (frames being dropped from animated gif files and a screenshot).
I thought at first that the default avatar width of 85 was preventing the upload since the jpeg was 127px wide but it still fails to upload after I set the allowed width to 200. I also tried setting "Automatically approve each new avatar" to yes but still the problem remains.
1 Re: Can't upload jpeg avatar?
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Can't upload jpeg avatar?
Where exactly appears this problem? In the admin backend or the user front end? Can you send me an email with both images? I cannot reproduce this problem so far.
Where exactly appears this problem? In the admin backend or the user front end? Can you send me an email with both images? I cannot reproduce this problem so far.
I tried to upload two different jpegs and I got the error: this image is not on the allowed list of filetypes or something like that, since the page refreshes too fast to copy the exact message.
I tried with a 4 KB and 44 KB jpeg.
Under file types, for jpeg it says:
This is an image and can be used for both avatars and thumbnails
Maybe a permission error?
GIFs work fine though.