View Issue Details

IDProjectCategoryView StatusLast Update
0003382HTML & PERLBug Report - Interfacepublic2019-12-09 11:09
ReporterSoulweaver Assigned ToDerIdiot  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0003382: User: Avatar dimension limit is not enforced
DescriptionUser avatars are supposed to be limited to 100px by 100px, but it is possible to set a larger avatar, probably both by upload and by reusing an already uploaded image.

Examples:
https://anidb.net/user/816465/profile 335x450 picture as avatar on live
https://devint.anidb.net/user/369387/profile using an existing anime picture as avatar (the image doesn't show because of CDN stuff probably, but the element is set to the corresponding, too large dimensions)
TagsNo tags attached.

Activities

DvdKhl

2019-12-08 19:04

developer   ~0004389

Adding the following css to the image element fixes the problem on the display side:
element.style {
    max-width: 100px;
    max-height: 100px;
    height: auto;
    width: auto;
}

Issue History

Date Modified Username Field Change
2019-09-21 20:28 Soulweaver New Issue
2019-12-08 19:04 DvdKhl Note Added: 0004389
2019-12-09 11:09 DerIdiot Assigned To => DerIdiot
2019-12-09 11:09 DerIdiot Status new => resolved
2019-12-09 11:09 DerIdiot Resolution open => fixed