LinkStack icon indicating copy to clipboard operation
LinkStack copied to clipboard

Profile picture sizes support

Open cln-io opened this issue 1 year ago • 2 comments

Adds support for user-defined height and width, still defaults to 128px, but users can now pick larger sizes to display if they want.

image

image

cln-io avatar Sep 23 '23 23:09 cln-io

With this (if wanted) users can set up banners (mostly logo's)

Horizontal banner style image

image

Vertical banner style

image

image

cln-io avatar Sep 24 '23 11:09 cln-io

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

JulianPrieber avatar Sep 24 '23 13:09 JulianPrieber