-
-
Notifications
You must be signed in to change notification settings - Fork 803
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes to Default Performer Images (for Accessibility) #1489
Conversation
Added: - Accessibility Form Group created under "Interface" - Added Setting for "Use non-striped default performer images", with the requisite backend code. - When this setting is enabled, new performers that are created that require a default image will be generated from an accessible box. - A new folder for images in "static/performer_female_accessible" has been created with two images (sourced with as free restrictions as I could find as per IMAGE_LICENSES.md, but happy to change / be guided on this one. Known Issues: - This does not retrospectively change existing performer images which do not conform. Not sure how to go about this, as I could not find the code paths responsible for pre-existing images? I suspect DB would be involved in this. Perhaps a task is needed? - There is no code path for male accessible default images as (currently) we do not require it, however I would imagine if we want to go for a stylistic consistency perhaps we should have performer_male_accessible as well.
I think that this is a bit of an over-complicated solution to the original problem. We only need to provide a mechanism for the user to supply their own images. My preference would be the following:
This change will change performer images for performers created more recently (I don't remember the commit that changed the behaviour) - if a performer does not have an image set, then it uses a random one generated from the name. This is resolved at request time, and is not persisted. Performers created a few versions ago had the image persisted - these will have to have the image cleared manually. As an aside, we can remove the stripes from the default images fairly easily. It will just take some manual time spent removing them with gimp or whatever. This would resolve the accessibilty issue altogether without the need to implement this feature (although this feature would still be useful). This would mean that everyone's default images would change, but provided that the plain images don't look too bad, I think we can live with this for the purposes of being more accessible. Plus, we could provide the old images that people can use with this feature if necessary. |
I've updated packr so that we can utilise |
Fixes #1396 (some caveats, see below).
Added:
static/performer_female_accessible
has been created with two images (sourced with as free restrictions as I could find as per IMAGE_LICENSES.md, but happy to change / be guided on this one.Known Issues:
performer_male_accessible
as well.