• I’m using your plugin, and it’s great! Only issue I find is that it is not transferring featured image from post to Discord message.

    • WordPress 6.3.2
    • Plugin 1.2.2

    It’s not going across in text or embed mode (or with or without the one line I added to post to forums, see suggestion in other entry :0) ).

    • Debug log info for an embed attempt — note that the image array is empty.
    [29-Oct-2023 17:22:23 UTC] Array
    (
        [id] => 192
        [status] => publish
        [date] => 2023-10-29 17
        [current_time] => 2023-10-29 17
    )
    
    [29-Oct-2023 17:22:23 UTC] Webhook for Discord - Post 192 maybe is new. _discord_webhook_published = 
    [29-Oct-2023 17:22:23 UTC] Array
    (
        [0] => Array
            (
                [title] => Test 2 with Featured
                [type] => rich
                [description] => sdf asdf asdfasdf
                [url] => https://mithmort.com/test-2-with-featured/
                [timestamp] => 2023-10-29T17:22:23+00:00
                [footer] => Array
                    (
                        [text] => Mithmort's Morgue
                        [icon_url] => https://mithmort.com/wp-content/uploads/2023/10/Mithmort-Base-Logo-Transparent-Background-500.png
                    )
    
                [image] => Array
                    (
                        [url] => 
                    )
    
                [author] => Array
                    (
                        [name] => Mithmort
                    )
    
                [fields] => Array
                    (
                    )
    
            )
    
    )
    
    [29-Oct-2023 17:22:23 UTC] Array
    (
        [headers] => Array
            (
                [Authorization] => Bot 
                [Content-Type] => application/json
            )
    
        [body] => {"content":"Mithmort just published the post Test 2 with Featured on their blog: https:\/\/mithmort.com\/test-2-with-featured\/","username":"WPBOT","avatar_url":"https:\/\/mithmort.com\/wp-content\/uploads\/2023\/10\/WPBOT_Avatar.png","thread_name":"Test 2 with Featured","embeds":[{"title":"Test 2 with Featured","type":"rich","description":"sdf asdf asdfasdf","url":"https:\/\/mithmort.com\/test-2-with-featured\/","timestamp":"2023-10-29T17:22:23+00:00","footer":{"text":"Mithmort's Morgue","icon_url":"https:\/\/mithmort.com\/wp-content\/uploads\/2023\/10\/Mithmort-Base-Logo-Transparent-Background-500.png"},"image":{"url":""},"author":{"name":"Mithmort"},"fields":[]}]}
    )
    
    [29-Oct-2023 17:22:24 UTC] Webhook for Discord - Request sent.
    [29-Oct-2023 17:22:25 UTC] Array
    (
        [id] => 192
        [status] => publish
        [date] => 2023-10-29 17
        [current_time] => 2023-10-29 17
    )
    
    [29-Oct-2023 17:22:25 UTC] Webhook for Discord - Post 192 maybe is new. _discord_webhook_published = 1
    

    • Debug log info for an embed attempt though I also don’t see the image array even listed in the non-embed option, so not sure if it’s even supposed to be transferring the image with the non-embed option
    [29-Oct-2023 19:51:57 UTC] Array
    (
        [id] => 197
        [status] => publish
        [date] => 2023-10-29 19
        [current_time] => 2023-10-29 19
    )
    
    [29-Oct-2023 19:51:57 UTC] Webhook for Discord - Post 197 maybe is new. _discord_webhook_published = 
    [29-Oct-2023 19:51:57 UTC] Array
    (
        [headers] => Array
            (
                [Authorization] => Bot 
                [Content-Type] => application/json
            )
    
        [body] => {"content":"Mithmort just published the post Test 2 w\/o Embed and w\/ Featured on their blog: https:\/\/mithmort.com\/test-2-w-o-embed-and-w-featured\/","username":"WPBOT","avatar_url":"https:\/\/mithmort.com\/wp-content\/uploads\/2023\/10\/WPBOT_Avatar.png"}
    )
    
    [29-Oct-2023 19:51:57 UTC] Webhook for Discord - Request sent.
    [29-Oct-2023 19:51:58 UTC] Array
    (
        [id] => 197
        [status] => publish
        [date] => 2023-10-29 19
        [current_time] => 2023-10-29 19
    )
    
    [29-Oct-2023 19:51:58 UTC] Webhook for Discord - Post 197 maybe is new. _discord_webhook_published = 1
  • The topic ‘Issue: Featured Images Not Transferring’ is closed to new replies.