Custom Field Template
Image insert not working (8 posts)

  1. bunday
    Posted 4 years ago #

    I'm trying to use CFT to insert an image. I've created the template: [Image]
    type = textarea
    rows = 4
    cols = 40
    tinyMCE = true
    htmlEditor = true
    mediaButton = true
    output = true

    and inserted the php code into page.php:Image: <?php getCustomField('Image'); ?>

    When I go to the page I'm adding to it allows me to insert the image into the field but when I update it removes the image. Any help would be greatly appreciated.
    I'm using the current WP as well as the current CFT
    I did try updating to the latest jquery but that broke it even further so I deactivated it.



  2. lukescammell
    Posted 4 years ago #

    I'm getting this same problem - must be to do with the revamped 3.3 media button :/ No ideas on a fix, other than rolling back to 3.2 - anyone else have any ideas on this?

  3. jobzesage
    Posted 4 years ago #

    Same problem here, when I click on "Insert into Post", the image's html code isn't inserted into the field. It used to work before we updated WordPress. My guess is also that it's the new media button.

  4. lukescammell
    Posted 4 years ago #

    Almost certainly that's what the problem is - unfortunately it's beyond me to fix at the moment (time + skill). Would love a fix for this, dear developer ;)

  5. flamenco
    Posted 4 years ago #

    Interesting, with 3.3.1 image insert is working for me right out of the box with the new media screen. It's true that I'm not using tons of plugins, but I have a pretty normal set-up, I think.

  6. jobzesage
    Posted 4 years ago #

    Could that mean that new installations are working well, but updated once have troubles maybe ?

  7. lukescammell
    Posted 4 years ago #

    I no longer know nor care: http://wordpress.org/extend/plugins/custom-field-template/changelog/

    1.9.9 fixes it for me, thank you very much Hiroaki Miyashita!

  8. jobzesage
    Posted 4 years ago #

    Same for me, I saw the upgrade this morning, and it seems to work very well :-) Hiroaki Miyashita rules!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Custom Field Template
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic