• Resolved DesigningStudios

    (@designingstudios)


    Unable to choose an image which i already have from media library as a featured image. But if i choose “Select files” i am able do it. Which means for a new image its working.

    I created a new post -> Clicked on Media Library -> Clicked on Insert Media -> I checked one image ->

    Now the button shows “Insert into post” not “Set as featured image”. If i click on the button “Insert into post” image is inserted in to post. Its not setting the image as “Featured image”.

    https://www.ads-software.com/plugins/drag-drop-featured-image/

Viewing 15 replies - 1 through 15 (of 26 total)
  • I experience the same issue. Any solution ?
    I use latest 3.6 WordPress release.

    I have tested a little further and actually it works now.
    I have added ‘thumbnail’ support in my cpt decalration.
    Though, I still have a bug when getting the image from the media library : the Ajax doesn’t work so the image won’t show or be updated.
    If I refresh the page manually, I get the right image …
    When adding the image using drag&drop or upload, Ajax works great.
    Any idea ?

    I didn’t mention I actually use latest WordPress 3.6.1 now.

    Plugin Author plizzo

    (@plizzo)

    Hello,

    I’m truly sorry for my late reply, I’ve been really swamped with my work and have had little time recently.

    The problem you are experiencing should not occur, and I will look into the issue as soon as possible.

    When the media manager opens, what screen do you land on? From there, is it possible to select “Featured image” on the left sidebar? Per default the plugin should simulate a click on that tab so you end up there but I will check it out.

    Regards,
    Jonathan

    Is there any traction on this issue? I am experiencing the same symptoms, but unlike antoinicolas, I have not been able to make it work.

    It just insists on adding the image from the gallery into the markup of the post.

    Plugin Author plizzo

    (@plizzo)

    Hi!

    My life has been swamped recently but I actually started looking at this today. I’ve decided to do a big rewrite and code the plugin in an object oriented way. At the same time I’m looking to solve all the bugs that have been reported lately.

    I have very limited time at the moment due to sickness within my family but I hope to push this update out this week.

    Best regards,
    Jonathan

    MichaelFStarke

    (@michaelfstarke)

    I can provide screenshots and console logs from Chrome if that would be helpful, just let me know.

    Take care of your family issues, this can wait a bit. Like I said in the other thread, I’ve found a workaround that has gotten me back up and working, and that will suffice for now.

    Hassan

    (@hassanhamm)

    Yup, I confirm this issue as well. It’s exactly as described by @antoinicolas in the 3rd post above. Using WordPress 3.7.1 currently.

    However, as MichaelFStarke said, family comes first, so take your time; no rush… this is free software after all ?? wishing you the best.

    Plugin Author plizzo

    (@plizzo)

    Hello guys!

    I’ve resolved the issues stated above amongst others in version 2.0 that was just released. Please try it out and get back to me with a report. With this new version I’ve rewritten the media hooks from scratch so it should all use the native implementations.

    Best regards,
    Jonathan

    Hassan

    (@hassanhamm)

    Thanks for the update, Jonathan.

    However, I still see this issue, that is, selecting a featured image by clicking the media library button does not show the thumbnail of the image on the meta box after selecting it.

    In fact, now when I select a featured image from Select files button and upload it from my PC (or drag and drop it) the gif keeps spinning forever and nothing happens. If I refresh the page, I can see the image appearing in the meta box.

    So, most probably, there is still an issue with AJAX.

    Hassan

    (@hassanhamm)

    Okay, forget what I just said.

    While I was trying to get this to work, I went to the Featured Image settings page to “explore” the new feature of publishing/updating the post immediately after inserting the featured image. So, I turned the option on, tried it, then went back and turned it off again.

    Now the plugin works without issues!

    I’m not really sure what happened, but I’d guess that for some reason I had to save the plugin’s settings after updating it for it to work correctly, though it’s just a guess.

    Anyway, all is good now.

    MichaelFStarke

    (@michaelfstarke)

    The spinner spins forever for me. AJAX issues? I’ll try Hassan’s recommendation of toggling the option.

    MichaelFStarke

    (@michaelfstarke)

    Adding by upload and selecting from media library both work, but the AJAX call never comes back.

    If I hard-refresh the page, the image is set, but that is not an acceptable solution.

    Toggling the option did not have an effect.

    Plugin Author plizzo

    (@plizzo)

    Hi!

    The new version works good, but I made a slight misstake in my code which I fixed now, or if you updated the settings it was fixed by itself. Here is the misstake:

    This row was like this:
    add_option('drag-drop-page-reload', false);

    When it should have been like this:
    add_option('drag-drop-page-reload', 0);

    But just update the plugin options and you’ll all be back in business!

    Regards,
    Jonathan

    Plugin Author plizzo

    (@plizzo)

    MichaelFStarke, could you try emptying your cache, or check the browser console for any errors? I’ve had a couple of testers and once they updated the settings their problems were gone.

    Regards,
    Jonathan

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘Unable to set as featured image from media library’ is closed to new replies.