-
Improvement
-
Resolution: Duplicate
-
Minor
-
3.0.12, 3.1.0-RC3
-
None
-
None
getimagesize() can be very costly when someone posts a multi-megabyte image and the board has image size restrictions in place. It will download the entire image and then process it. We can significantly improve the speed if we roll our own dimension checking routine. We really only need to download the first few bytes of the image to determine its type and dimensions.
- duplicates
-
PHPBB-8672 No file size limit in getimagesize() and remote upload
- Unverified Fix