Fixed Uploaded image attachment - xf_attachment_data info incorrect

AndyB

Well-known member
Environment:

XenForo 1.2.3
ImageMagick
Maximum Attachment Image Dimensions: 1600x1600

When a user attaches an image that is larger than 1600x1600 the code properly resizes the image, but the xf_attachment_data table saves the pre-resized 'file_size', 'width' and 'height' information. The data saved should be the resized image information.
 
Top Bottom