

Next calculate the total pixels (px) per file: Note that the dimensions of the larger (875 KB) file are actually far less than the smaller (718KB) file, indicating very different levels of compression. That can be done in many ways, and is (or can) often be displayed in a file system on your PC, such as this from a Windows 7 system: If you are having problems, then this is how you can approximately calculate the REAL size of your images:įirst identify the pixel dimensions of the image. Most scanners and digital cameras automatically compress files when they create them, so “compressing” does not mean you or your relatives need to have done anything unusual.
#Webtrees largest image full#
The reason for the confusion is that the size of the file that matters is that of the file BEFORE it was compressed (usually as a jpeg formatted image), NOT the size of the file as stored. This is because, in order to be able to create a reasonable quality thumbnail copy PHP first needs to uncompress the uploaded image to its original size, storing that full sized file in internal server memory, before it can then reduce it to the much smaller thumbnail size.īecause images can be compressed to greater or lesser degrees, an image stored as 700KB can easily be larger than one stored as 850KB. Here I would like to explain why this happens. Then users have commented that sometimes one file, say 850KB in size WILL upload, but another, slightly smaller (say 700KB) will not. Thumbnail ‘media/thumbs/wont_upload.jpg’ could not be generated automatically.Īs said in the FAQ that this is almost always due to excessively large images, or not enough PHP memory.

Many people have experienced problems when uploading media objects, resulting in an error message like:
