Full size file not being deleted when avatar is created.

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
6/26/2012 10:24:40 AM
Gravatar
Total Posts 28
~Leslie

Full size file not being deleted when avatar is created.

Good morning,

I've noticed that there are 'full' image files in the data/sites/1/useravatar folder that should not be there.  In stepping through the code, it appears that the userXXfullsize.jpg image is created, then deleted, then recreated and not deleted.  We had an issue with some user's avatars not being sized correctly which is what brought me to checking the code and finding the extra files on the server.  Although it doesn't cause any problems with the site, I thought I'd bring it to your attention.

I also wanted to look into gravatars and I created a user account on your demo site to log in as a regular user.  I'm not sure if I was supposed to do that or not (the only members are admins) so if I was in error, please feel free to delete the account.

Thanks,

~Leslie

7/5/2012 10:51:06 AM
Gravatar
Total Posts 18439

Re: Full size file not being deleted when avatar is created.

Hi Leslie,

This doesn't seem like a bug to me. It keeps the full size image and allows cropping the image to make the avatar the correct size, but the full size image is retained in case they want to crop it again.

Best,

Joe

7/5/2012 12:18:59 PM
Gravatar
Total Posts 28
~Leslie

Re: Full size file not being deleted when avatar is created.

Oh, I see.  It makes sense.  Thanks for the clarification.

~Leslie

You must sign in to post in the forums. This thread is closed to new posts.