funkjedi / acf-qtranslate

Adds qTranslate compatible fields for Text, Text Area, Wysiwyg Editor and Image.
http://wordpress.org/plugins/acf-qtranslate/
57 stars 32 forks source link

Image field not working #100

Closed jhned closed 7 years ago

jhned commented 7 years ago

Has anybody been able to get the image field working with the latest version of ACF Pro and acf-qtranslate? For me, I'm presented with the same image field, no matter what language I have selected.

So what happens is, I get the same image for each language, rather than two different images for two different languages.

Attaching a screenshot of what I'm seeing-- I think older versions of the plugin used to have a tab switcher box here instead.

acf-qtranslate-broken-image-field

jhned commented 7 years ago

Ah, got it. The problem was that I was registering ACF field groups via PHP, and the field group used the "image" field type, not the separate "qtranslate_image" field that the plugin creates. I filtered my plugin to change the field type to "qtranslate_image" and it works great.