• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Uploaded image attachment - xf_attachment_data info incorrect

AndyB

Well-known member
#1
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.