Board Thread:Technical Updates/@comment-24006128-20200311154142/@comment-9605025-20200319164444

reply to #243 The user who started that thread has since posted an example image as well as a link to where they are using it on their wiki. I also downloaded the copy they posted here on CC and uploaded it to MisterWoodhouse's test wiki. It appears that the upload process itself is fine; at least now. Regardless of whether there was an upload issue before or not, the current issue is that the transparency is not kept when the image is displayed on pages. This appears to be caused by a change in which URL is used. The UCP uses a different URL than the legacy platform. The behavior of this different URL is as it has always been; so if one knew of this change, one would have expected this.

The legacy platform uses Vignette's "scale-to-width-down" while UCP uses "fixed-aspect-ratio-down". The option used by UCP applies a background to the image so that the visible region is of a given aspect ratio. If the color of the background is not specified, it uses white. That is what we are seeing with these transparent images. To demonstrate: https://vignette.wikia.nocookie.net/central/images/5/54/Fabricator.gif/revision/latest/scale-to-width-down/128 https://vignette.wikia.nocookie.net/central/images/5/54/Fabricator.gif/revision/latest/fixed-aspect-ratio-down/width/128/height/128 https://vignette.wikia.nocookie.net/central/images/5/54/Fabricator.gif/revision/latest/scale-to-width-down/128 https://vignette.wikia.nocookie.net/central/images/5/54/Fabricator.gif/revision/latest/fixed-aspect-ratio-down/width/128/height/128 - Edit:

The issue could be fixed either by reverting to the legacy platform's behavior or by adding the fill parameter to the image URL. https://vignette.wikia.nocookie.net/central/images/5/54/Fabricator.gif/revision/latest/fixed-aspect-ratio-down/width/128/height/128?fill=transparent https://vignette.wikia.nocookie.net/central/images/5/54/Fabricator.gif/revision/latest/fixed-aspect-ratio-down/width/128/height/128?fill=transparent