Skip to content
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

Reworked icon and banner (title-logo) #435

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

AlexanderRavenheart
Copy link
Contributor

@AlexanderRavenheart AlexanderRavenheart commented Apr 29, 2020

Please include the following image to media/games/banners/ as no_banner.png:
no_banner
It is used in case no banner has been set for a game.

- Added check_image_size and resize_image utility functions
- Added pre_save handler for Games to check and resize icon and banner images if size differ from ones defined in settings
- Added required migrations
- Updated views functions for banner and icon
- Removed usage of get_thumbnail
- Added path functions
- Removed CroppieField from GameForm and GameEditForm
@AlexanderRavenheart AlexanderRavenheart changed the title Reworked image storage to improve load times and optimize storage Reworked icon and banner (title-logo) Apr 29, 2020
@AlexanderRavenheart AlexanderRavenheart marked this pull request as draft April 29, 2020 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant