Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter onlynoone

    (@onlynoone)

    Hello jphase,

    Thank you for your reply and helping out.

    Your code works the same as mine so far, the real problem is that I can’t target/call the images that were inserted to the post via the Media Library.

    So no direct upload to the post, it seems like this creates an issue that makes those images unattached and I guess can’t be called with wp_get_attachment_image

    So if I direct upload an image to the post, the above code(s) work but once I use the already uploaded images in the Media Library it fails.

    Thread Starter onlynoone

    (@onlynoone)

    Update: I found the culprit/problem.

    The code works perfectly when I use the gallery=>direct upload option. But starts to fail when I want to go gallery=>Media Library to upload images. So the problem lies with the Media Library, it doesn’t get recognised for some reason.

    I haven’t figured out how to fix it yet, so any suggestions welcome.

Viewing 2 replies - 1 through 2 (of 2 total)