Hi Rafael,
I am able to upload jpg,gif or png files but not bmp. Better define default file types in configuration file like the other properties defined for avatar and aslo give an option for changing the avatar directory in configuration file like you did for upload directory.
Becuase we are planing to deploy forum application on few different machines with load blancer setup in front. In this case we want to use NFS directory to share some common directories(ie upload,avatar,etc..) accross all machines.
Right now i am able update the upload directory with NFS directory to access same files from different servers in the back ground. I have added
servlet to display shared images for uploaded files but i didn't find an option to update avatar directory.
If my file type is in capital letters(ie JPG) then the image is not diplaying in the page. But it is working fine on your "Test Forum".
Do you have any idea what could be the issue?
lazee, Generally most of users using website doesn't know about these technical issues. If we have a file type property in configuration, then we can easly check the file type before uploading to server, If file type is not mentioned in the list then we can give message saying that it supports only these file types. I am suggesting rafael to add a property for file types in configuration file. So that we can update the file types for each different case (ie upload,avatar,etc..) depend on the requriment.
Just these are my thoughts.May be you guys have better ideas.
Thanks,
Gopal
[originally posted on jforum.net by gopal]