Back to GD bbPress Attachments Forum

Serialized Image Data

Published on: November 21, 2022 at 4:52 pm · By: bobgarrett
Author
Topic
#75066

I am migrating forum threads with attachments from another Forum suite to bbPress by transferring the data in SQL using PHP. This all looks good so far but I am struggling with the migration of attached images. Both forums are storing information in postmeta table using a serialized data string to describe the image. At first I just tried transferring the serialized string to the new record and it works except the images as displayed in the forum are all of size 1 x 1 pixels.
Do you have any explanation of the serialized string used in this module to save me time trying to create a string that will work and not produced a 1×1 pixel image?
Many thanks

Viewing 1 replies (of 1 total)
Author
Replies
  • #75067

    Hi,

    My plugin stores images as files inside the WordPress media library, there is no other way to do it. So, if you have serialized images, you need to create them as files, import into library and link to topics/replies the same way my plugin does.

    Regards,
    Milan

    Dev4Press - Premium plugins for WordPress.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.