JulianD Well-known member Jul 21, 2013 #1 I'm trying to get the link to the thumbnail of an attachment but I can't find a way to do this in the php code. Does anyone has any idea how to accomplish this.
I'm trying to get the link to the thumbnail of an attachment but I can't find a way to do this in the php code. Does anyone has any idea how to accomplish this.
Jeremy in memoriam 1991-2020 Jul 21, 2013 #2 You'll need to use XenForo_Model_Attachment. Specifically: XenForo_Model_Attachment::getAttachmentById($dataId); XenForo_Model_Attachmnet::getAttachmentThumbnailFilePath($data);
You'll need to use XenForo_Model_Attachment. Specifically: XenForo_Model_Attachment::getAttachmentById($dataId); XenForo_Model_Attachmnet::getAttachmentThumbnailFilePath($data);