The Movie Database Support

I'm trying to upload a rather big png logo. Here are the system properties of the file https://i.postimg.cc/Dwr0tycF/Screenshot-2024-12-19-at-13-27-28.jpg, here's the filesize shown during the upload https://i.postimg.cc/3N0J9Kws/Screenshot-2024-12-19-at-13-24-43.jpg, and here's the result of the upload https://i.postimg.cc/65RCpKhb/Screenshot-2024-12-19-at-13-24-48.jpg

Last I checked the basic math, 12.5 MB shown by the local system and 11.89 MB shown by the uploader are less than 14 MB. So what's the problem?

Initially, the image was 17 MB, so the first upload attempt legitimately failed. After that, I shrunk the image to reduce the size but didn't change the filename. Could it be that the original bigger file is still 'cached' in the system, and subsequent uploads are just being ignored?

3 replies (on page 1 of 1)

Jump to last post

Hey @shotfirer,

I'm not sure what would cause that. There's nothing that should be caching previously failed uploads, so I don't think that would be an issue.

Can you post the file somewhere so that I can take a look at it?

Thanks.

@travisbell said:

Can you post the file somewhere so that I can take a look at it?

sure, here's the smaller file, and the bigger original file. And here's the show in question.

Thanks, I was able to investigate this a bit more. What's happening is we don't check the file size until after it's been sanitized and checked as valid by our image service, and during that process we do mutate the file. This doesn't normally cause any issues, but something with this file is causing it to bump up in size, just enough to cause it to fail the last check.

I don't have time to look at this anytime soon, so for now, shrink the file just a bit more, and it will go through.

Interesting find though!

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login