LinkStack
LinkStack copied to clipboard
Profile picture sizes support
Adds support for user-defined height and width, still defaults to 128px, but users can now pick larger sizes to display if they want.
With this (if wanted) users can set up banners (mostly logo's)
Horizontal banner style
Vertical banner style
Let's get v4.2.9
to production before we work on this.
Just as a heads-up, we usually work around adding new database tables. The updater cannot handle this without extra logic. We tested adding new tables with only some issues, so this could be an option.
We have a dedicated method we can call in the user controller to save and retrieve small values to and from the database. This could also be used here.
See:
https://github.com/LinkStackOrg/LinkStack/blob/main/app/Http/Controllers/UserController.php#L766-L770
https://github.com/LinkStackOrg/LinkStack/blob/main/resources/views/studio/page.blade.php#L271