LuminaWebsite/includes
Maaxxs 6e486b07ef Uploads: pictures no longer arrive black when the browser cannot shrink them (Firefox)
Asked for: a member's 4K screenshot (7.8 MB) arrived as a black picture in the gallery and as portrait - with Firefox;
the same file worked for others.

- assets/js/image-resize.js: the shrunken picture is checked before sending. The canvas is tested for readback first
  (fingerprinting protection returns placeholders), the result is sampled, and the encoded blob is decoded again. An
  empty, invisible or single-colour result gets a second try via WebGL, otherwise the original goes to the server,
  which shrinks it itself. The old code sent a 12 KB black JPEG in these cases.
- Transparent pictures stay PNG (as JPEG the transparent parts turned black). A broken alpha channel (almost all
  transparent, but a whole picture underneath - some games save screenshots like that) is read without the alpha
  channel through WebGL, since a 2D canvas loses the colours at transparent spots.
- includes/functions.php: store_uploaded_image() makes pictures with a broken alpha channel opaque before resampling
  (image_alpha_is_broken(), GD colorize with alpha -127) and, with $rejectBlank, refuses completely black or
  invisible pictures with a hint to try another browser (image_is_blank()); profile_store_upload() uses it for
  gallery, portraits, character pictures, backgrounds and premade banners.
- "Das Bild ist zu groß" names the webspace limit (upload_max_filesize, php_ini_bytes()).
- Patch note and README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 23:17:37 +02:00
..
data Wiki with the beginner guide: chapters, editor with preview, history, contributors, guide import 2026-09-21 20:33:17 +02:00
.htaccess Fix 500 error from unguarded RewriteEngine directive in root .htaccess 2026-09-18 06:27:09 +02:00
account_deletion.php Calendar: personal iCal subscription for Google, Outlook and Apple with the raids and entries you can sign up for 2026-09-27 14:11:43 +02:00
activity_api.php "Gilde" -> "Legion", button hover fix, subtle sidebar scrollbar, bot color as the activity check default 2026-09-22 02:23:48 +02:00
activity_points.php Lumipunkte for activity checks and a daily reward, Lumishop layout polish 2026-09-22 10:25:56 +02:00
admin_log.php Discord bot as overview: everything is managed on the website, raid signup in one click 2026-09-25 03:15:55 +02:00
auth.php Gear planner: sets can be shared by link or build code and imported as your own 2026-09-26 01:44:52 +02:00
bootstrap.php Account deletion also anonymizes the member at the Discord bot, runs after the response 2026-09-24 17:10:27 +02:00
bugs.php Gear planner, dashboard polish, images on bug reports 2026-09-22 09:27:09 +02:00
calendar_audience.php Member feedback: raid input checks and fixed raid points, premades in the raid form, live raid page, Lumina-style dialogs, leadership calendar entries, class-based weapon picker, map and tactics fixes 2026-09-23 16:12:18 +02:00
calendar_entry.php Member feedback: raid input checks and fixed raid points, premades in the raid form, live raid page, Lumina-style dialogs, leadership calendar entries, class-based weapon picker, map and tactics fixes 2026-09-23 16:12:18 +02:00
calendar_feed.php Calendar: personal iCal subscription for Google, Outlook and Apple with the raids and entries you can sign up for 2026-09-27 14:11:43 +02:00
contributions.php Lumipunkte for activity checks and a daily reward, Lumishop layout polish 2026-09-22 10:25:56 +02:00
data_export.php Calendar: personal iCal subscription for Google, Outlook and Apple with the raids and entries you can sign up for 2026-09-27 14:11:43 +02:00
data_reset.php Premades: overview grouped by lead, collapsed by default; leads and their premades in the leadership's order 2026-09-27 02:37:17 +02:00
db.php Use German time for PHP and the database session 2026-09-21 11:05:27 +02:00
discord.php Raid groups: no wrapping for long names; show website display names synced from the Discord server nickname 2026-09-21 20:57:56 +02:00
discord_auth.php Accounts: the website username follows the Discord username (Discord-only logins) 2026-09-27 02:06:00 +02:00
discord_bot.php Report panel: explains the rules with the real values, pings a chosen role, names the leadership 2026-09-25 12:43:32 +02:00
dues.php Legion dues: an admin page tracks who paid, with a rhythm, exemptions and suspended cycles 2026-09-26 23:33:22 +02:00
dues_reminders.php Legion dues: the bot reminds open members by DM; premades open in the leadership's order 2026-09-27 01:32:43 +02:00
dungeon_maps.php Raidplaner: tactics on the maps of all dungeons and raids, with tokens that move from step to step 2026-09-26 12:45:00 +02:00
events_api.php Discord bot as overview: everything is managed on the website, raid signup in one click 2026-09-25 03:15:55 +02:00
footer.php Impressum and privacy policy, third-party videos and images load only after a click 2026-09-24 16:26:54 +02:00
functions.php Uploads: pictures no longer arrive black when the browser cannot shrink them (Firefox) 2026-09-27 23:17:37 +02:00
gear.php Gear planner: sets can be shared by link or build code and imported as your own 2026-09-26 01:44:52 +02:00
gear_macro.php Gear planner: macro entries point to a key of the skill bar, like in the game 2026-09-26 22:50:09 +02:00
gear_planner.php Pantheon: no faction choice, only decorations Elyos can place (the legion is Elyos-only) 2026-09-24 00:40:36 +02:00
gear_planner_source.php Skill tooltips with values at the planned level, page background no longer zooms, 150+ members 2026-09-24 01:44:44 +02:00
gear_planner_view.php Skill descriptions from the German client, hover info, centered Daevanion board, aligned user admin buttons 2026-09-24 01:16:39 +02:00
gear_skills.php Gear planner: skill icons are checked against the game client and replaced where aion2hub is wrong 2026-09-26 00:22:34 +02:00
gear_skills_view.php Macro planner: every gear set gets a "Makro" tab built like the in-game macro window 2026-09-25 23:32:09 +02:00
gear_source.php Gear planner: skill icons are checked against the game client and replaced where aion2hub is wrong 2026-09-26 00:22:34 +02:00
header.php Premades: apply for a place in the group or on the reserve, leads accept or decline on the website 2026-09-27 00:25:13 +02:00
item_db.php Item tooltips show the game data from aion2hub instead of warehouse and shop details 2026-09-25 02:03:23 +02:00
legal.php Premades: apply for a place in the group or on the reserve, leads accept or decline on the website 2026-09-27 00:25:13 +02:00
live_updates.php Premades: overview grouped by lead, collapsed by default; leads and their premades in the leadership's order 2026-09-27 02:37:17 +02:00
map_links.php Raidplaner: tactics on the maps of all dungeons and raids, with tokens that move from step to step 2026-09-26 12:45:00 +02:00
member_picker.php Member selection as a search list with avatar instead of a dropdown (warehouse, attendance, premades) 2026-09-22 02:50:11 +02:00
member_profile.php Uploads: pictures no longer arrive black when the browser cannot shrink them (Firefox) 2026-09-27 23:17:37 +02:00
moderation.php Menu counts for open reports and moderation, item tooltips in warehouse and Lumishop 2026-09-25 01:48:08 +02:00
not_found.php 404 page as an image card: lonely tower under the moon, floating gold 404, twinkling stars 2026-09-22 08:20:29 +02:00
patchnotes.php Uploads: pictures no longer arrive black when the browser cannot shrink them (Firefox) 2026-09-27 23:17:37 +02:00
permissions.php Premades: members may lead up to three premades instead of one 2026-09-27 01:43:04 +02:00
premade_applications.php Premades: the leadership sees the apply button too, others decide on its own applications 2026-09-27 00:31:08 +02:00
premade_banner.php Premade banners: leads give their premade a banner, shown on the card, dashboard and raids 2026-09-25 03:34:24 +02:00
premade_order.php Premades: overview grouped by lead, collapsed by default; leads and their premades in the leadership's order 2026-09-27 02:37:17 +02:00
professions.php Professions: members enter their characters' professions, a new page shows who can craft what 2026-09-26 00:01:11 +02:00
raid_attendance.php Discord bot as overview: everything is managed on the website, raid signup in one click 2026-09-25 03:15:55 +02:00
raid_card.php Premade banners: leads give their premade a banner, shown on the card, dashboard and raids 2026-09-25 03:34:24 +02:00
raids_api.php Premades: members may lead up to three premades instead of one 2026-09-27 01:43:04 +02:00
reactions.php Moderation: all comments with flags, swear word filter; reactions on pictures and comments; last active in member list; map starts with categories hidden 2026-09-21 22:12:10 +02:00
role_icons.php Group icons: groups get an icon in front of their name, like the role icons in Discord 2026-09-25 12:35:02 +02:00
schema.php Calendar: personal iCal subscription for Google, Outlook and Apple with the raids and entries you can sign up for 2026-09-27 14:11:43 +02:00
security.php Gear planner: autosave gets its own rate limit; patch notes about the legion dues removed 2026-09-27 01:57:22 +02:00
settings.php Calendar: raids and events as a monthly view plus member entries with "I'm in" 2026-09-21 22:26:17 +02:00
shop.php Lumishop partial approval, Lumipunkte on dashboard and in sidebar box 2026-09-21 10:56:59 +02:00
shop_order_row.php Member feedback: raid input checks and fixed raid points, premades in the raid form, live raid page, Lumina-style dialogs, leadership calendar entries, class-based weapon picker, map and tactics fixes 2026-09-23 16:12:18 +02:00
site_notice.php Calendar: personal iCal subscription for Google, Outlook and Apple with the raids and entries you can sign up for 2026-09-27 14:11:43 +02:00
tactics.php Raidplaner: tactics on the maps of all dungeons and raids, with tokens that move from step to step 2026-09-26 12:45:00 +02:00
warehouse.php Modern item picker (image, category, stock, keyboard) for deposit, withdraw, history search and shop management; category chips for the stock 2026-09-21 21:31:52 +02:00
wiki.php Impressum: contact mail is info@lumina-ascendens.de, remaining "Ascendes" typos fixed 2026-09-25 22:40:12 +02:00