Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Account Pictures Extension 1.0
This discussion has been closed.
Comments
About the name, it is changed on purpose, that shouldn't be the problem.
And the line 90 of the uploader class is this line :
if (!move_uploaded_file($_FILES[$InputName]['tmp_name'], $NewFilePath)) $this->Context->WarningCollector->Add('Failed to upload the file: '.$FileName);
This mean that $_FILES[$InputName]['tmp_name'] (/var/tmp/phpiLBs7O) is not a valid uploaded file or that he can't be moved (permissions problem or wrong path).
I have a simple question - What image types are compatible with this extension?
My follow-up question would be - Why is there this restriction?
I have only used PNG files so far.
EDIT: Just realised that the Internet Explorer is messing up transparent PNGs anyway. No need for PNG support from my side anymore. Thanks for the usefull extension, Jazzman!
EDIT #2: Sorry for the mess. When I upload a GIF with a transparent background, the background is set to black. Bug? And the picture is overlapping a bit:
Some problems were encountered
An error occurred while attempting to copy the source image "talk/uploads/pics4cd353e1b3bee4df59c3db62a3252b22.gif". Your version of php (4.4.1) may not have gif support.
And I definitely haev gif support. The image gets loaded to the right spot and everything, it just spits out this error and doesn't set the icon. The folder has 777 access and everything. Any ideas, this is driving me nuts.