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

Duplicate Attachment data incorrect in table after image resize


Well-known member
When an image is uploaded as an attachment, if it is resized to meet the forums "Maximum Attachment Image Dimensions" settings, the original information about the image before resizing, such as the size, width and height are saved in xf_attachment_data table, not the actual resized information.

It would be nice if the resized image data was saved in the attachment_data table. This would include:


Tested on XF v1.2.3.