Currently Viewing Posts Tagged “file size”

413 Request Entity Too Large – Nginx Web Server

It is a error on Nginx Web Server. Actually happened when I tried to import a large sql backup into MySQL server through phpmyadmin.

First, I change the upload limit or max file size on php.ini

  • upload_max_filesize = 100M
  • post_max_size = 100M

And restart the HHVM.

Then I got the error.

413 Request Entity Too Large

Continue reading “413 Request Entity Too Large – Nginx Web Server”

Why thumbnail png file is bigger after original png

I use png format picture file sometimes. It is OK when I upload the file into MovableType platform. I choose make thumbnail to 400px width from about 700px.
Perl ImageMagick engine will create thumbnail file. The blog software will generate html code and put into editor body.
Everything looks find. But the file size of thumbnail png is bigger than original png file.
Original png file: 700X505 49KB
Thumbnail png file: 400X288 78KB
Why is it bigger?

Continue reading “Why thumbnail png file is bigger after original png”

  • Archives