Suggestion Automatically rescale/resize a fully-sized image for profile banners

SylverReZ

GBATemp's Meme Lord
OP
Member
GBAtemp Patron
Joined
Sep 13, 2022
Messages
7,468
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
21,163
Country
United Kingdom
There are many problems with applying profile banners. Simply put, there are no answers as to what the image dimensions need to be, and so when you create your banner regardless, both the top and bottom gets cropped off. It would be great if there was an option to re-size the image in full.

EDIT: The banner size should be 1280×456 pixels which should fix the issue. Thanks @smileyhead for the solution.
 
Last edited by SylverReZ,

Tom Bombadildo

Dick, With Balls
Member
Joined
Jul 11, 2009
Messages
14,580
Trophies
2
Age
29
Location
I forgot
Website
POCKET.LIKEITS
XP
19,301
Country
United States
It does automatically resize it, that's why the borders are cut off, it scales up the image so the image fills the whole box without breaking its aspect ratio.

The default image resolution given is so the banner will display in full when you use the default webpage width (which I believe is 1366, which used to be the most common desktop resolution until very recently).
1672061757806.png



ie, here's what Chary's looks like with default width, it displays normally:
1672061892090.png

And here's what it looks like when I toggle width on my ultrawide monitor, it scales the image up but cuts it off because of my resolution:
1672061909634.png

There's no perfect way to scale images to make them always appear perfect in every resolution, unless you want whatever you uploaded to stretch which looks ugly.
 

Jayro

MediCat USB Dev
Developer
Joined
Jul 23, 2012
Messages
13,105
Trophies
4
Location
WA State
Website
ko-fi.com
XP
17,340
Country
United States
There are many problems with applying profile banners. Simply put, there are no answers as to what the image dimensions need to be, and so when you create your banner regardless, both the top and bottom gets cropped off. It would be great if there was an option to re-size the image in full.
I would just make it extra wide, so it scales vertically without issues.
 
  • Like
Reactions: SylverReZ

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • S @ salazarcosplay:
    and also ahve the option to play as a human
  • S @ salazarcosplay:
    or set it up that when you get injured past a certain point they have to replace your human parts with cybernetics
  • Xdqwerty @ Xdqwerty:
    i have a placeholder enemy sprite i made
  • S @ salazarcosplay:
    or have it that you don't know you are a cyborg, robot, and you find out and have a existential crisis
  • S @ salazarcosplay:
    or have it start in the virtual world and you are an ai that gained sentience
  • Xdqwerty @ Xdqwerty:
    btw gonna wash my face in a bit, my eyes feel tired
  • S @ salazarcosplay:
    and you convince your owner to help you break out of the virtual world to real world
  • BigOnYa @ BigOnYa:
    Eyes - "yawn"
    +1
  • S @ salazarcosplay:
    you bleack in to goverment computer systems to get cyborg schematics so you can get a robot body constructed
  • Xdqwerty @ Xdqwerty:
    btw @BigOnYa the health bar doesnt decrease when i take damage (and yes i put the "at the beggining of the scene change value of greenflatbar: set to Protagonistcopmode.Health::Health())
  • S @ salazarcosplay:
    i the protagonist
  • S @ salazarcosplay:
    human, robot, cyborg
  • S @ salazarcosplay:
    human with cyborg enhancements
  • S @ salazarcosplay:
    or like terminatior
  • S @ salazarcosplay:
    with living tissue
  • BigOnYa @ BigOnYa:
    @Xdqwerty there is health behaviour you can add to your character, then to use a health bar is lil more complicated, google n watch a few tutorial video on it, be too hard to explain here.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, the character has the health behavior
  • BigOnYa @ BigOnYa:
    I know you have to create a health and health max variable. Then there is a calculation you use in code to subtract width size of the health bar. Google few vids.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, the "greenflatbar" is one of the preset health bars btw
  • BigOnYa @ BigOnYa:
    Yea you can use any bar/sprite. It will just change the width. Ok good luck and have fun. I'm off to go shoot some pool at the bar. Talk to you later.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, why does the health behavior exist if you can just use a variable?
  • Xdqwerty @ Xdqwerty:
    and nope the number still doesnt change
    Xdqwerty @ Xdqwerty: and nope the number still doesnt change