Featured Link Image
after upload new image the "select link image" not work (3 posts)

  1. oldlastman
    Posted 3 years ago #

    my wordpress version 3.5.1
    all plugins switch off

    looking over code and i made little change on uploader.js
    imgurl is undefined when user click on button

    i add this if
    if(typeof imgurl =='undefined'){ imgurl = $(html).attr('src');

    and plugin go ok



  2. brasofilo
    Plugin Author

    Posted 3 years ago #

    Hi oldlastman, thanks for reporting but I cannot reproduce the bug...

    As a matter of fact, adding the if(typeof) makes the plugin to always insert the same image. I select the first time, remove, try to select another but the first one comes back.

    You say you switched off all plugins. What if you try to swap to the default theme? (TwentyTwelve)

    thx again!

  3. oldlastman
    Posted 3 years ago #

    wordpress version 3.5.1
    chrome VersiĆ³n 26.0.1410.64 m
    firefox 20.0.1

    If you use if(typeof) you can't change image? that sound very very strange. In my case all goes fine

    are you logging the content of imgurl variable?? if that if(typeof) only fire when imgurl is undefined ... why you are getting the old img url?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Featured Link Image
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.