• Resolved QuickeneR

    (@quickener)


    Hi,
    I noticed that while the Media Library lists all the images correctly, I cannot insert any image into a post. The Add Media (or add featured image) window says “All Types | Images (81)” but does not display any of them.
    If I disable polylang, everything works as expected. Moreover, the images uploaded with polylang disabled show up even when it is reenabled.
    I’m not sure when the problem appeared, as I installed a couple of polylang updates without adding new posts, but it was not present in July/August.
    Maybe it is related to this thread http://wordpress.org/support/topic/featured-images-show-up-only-in-default-language-en?replies=2 except I have no problems with displaying images, and the fix suggested there is not applied in my case.
    The settings are:
    URL modifications – The language is set from content. Posts, pages, categories and tags urls are not modified.
    Remove /language/ in pretty permalinks.
    Hide URL language information for default language
    When using static front page, redirect the language page to the front page in the right language
    I am using a static front page.

    http://wordpress.org/extend/plugins/polylang/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chouby

    (@chouby)

    Since v0.9, Polylang supports languages and translations for medias (for captions and descriptions). When adding a media from a post, they are filtered to display only the medias in the post language. Probably you did not set any language for your medias and so you see nothing.

    I foresaw that not everybody would need this new feature of Polylang, so you can just add the line:

    define(PLL_MEDIA_SUPPORT, false);

    in your wp-config.php and media should work as previously in 0.8.x (more information in the documentation)

    Thread Starter QuickeneR

    (@quickener)

    Thank you Chouby, this fixes the problem.

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

The topic ‘[0.9.4] Cannot insert images from Media Library’ is closed to new replies.