Skip to:

Opened 3 years ago

Last modified 3 years ago

#5249 new enhancement

1 folder avatar per 1 user, it not good

Reported by: beenyoung Owned by:
Milestone: Future Release Priority: normal
Severity: major Version: 1.8.1
Component: Core Keywords: reporter-feedback


I’m using BuddyPress, I dont use Gravartar to default and enable for user can upload avatar.
However, after user uploaded an image, one folder be created for that image with name is user ID.

Example: wp-content/uploads/avatars/1150/c6aeaf32e901429df2c715b29041b2fb-bpfull.jpg

So, if my site have much members, my hosting will be much folders(100 000 users => 100 000 folders). That is very bad for my site (I think so).

I think the best way is wp-content/uploads/avatars/1150-20105018112013-bpfull.jpg (1150 is user ID, 18112013 is time)

This ticket is content of the post:

Change History (2)

#1 @boonebgorges
3 years ago

  • Keywords reporter-feedback added

What's the advantage of having one directory with 200,000 files (two avatars per user) vs 100,000 directories with two files each?

#2 @DJPaul
3 years ago

  • Milestone changed from Awaiting Review to Future Release
Note: See TracTickets for help on using tickets.