Title: PHP code won&#039;t show image
Last modified: August 30, 2016

---

# PHP code won't show image

 *  Resolved [HaloBing](https://wordpress.org/support/users/halobing/)
 * (@halobing)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/php-code-wont-show-image/)
 * Hello,
    I want to put on my topbar language switcher, but when I put php code
   I cant get image of flag.
 * I used `<?php echo qtranxf_generateLanguageSelectCode(‘image’); ?>`
    I tried 
   with both but I can’t get images…
 * Website `touristguides-sa.com`
 * [https://wordpress.org/plugins/qtranslate-x/](https://wordpress.org/plugins/qtranslate-x/)

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

 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/php-code-wont-show-image/#post-6652972)
 * [@halobing](https://wordpress.org/support/users/halobing/)
 * See [Troubleshooting](https://qtranslatexteam.wordpress.com/troubleshooting/)
 * > Try to reproduce the problem under a simpler configuration with as many plugins
   > off as possible and with one of the standard themes, like “Twenty Fifteen”,“
   > StoreFront”, etc. This may help you to figure out which plugin or theme is 
   > in conflict.
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/php-code-wont-show-image/#post-6652993)
 * [@halobing](https://wordpress.org/support/users/halobing/)
    maybe `<?php echo
   qtranxf_generateLanguageSelectCode('image'); ?>` instead of `<?php echo qtranxf_generateLanguageSelectCode(‘
   image’); ?>`
 *  Thread Starter [HaloBing](https://wordpress.org/support/users/halobing/)
 * (@halobing)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/php-code-wont-show-image/#post-6653147)
 * Thx , i didn’t realized that I put wrong ‘
    thank you again 🙂
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/php-code-wont-show-image/#post-6653152)
 * You are welcome!
 * You can [review](https://wordpress.org/support/view/plugin-reviews/qtranslate-x)
   this plugin to help other people to find out the value.

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

The topic ‘PHP code won't show image’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/qtranslate-x_f9f9f9.svg)
 * [qTranslate X](https://wordpress.org/plugins/qtranslate-x/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/qtranslate-x/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/qtranslate-x/)
 * [Active Topics](https://wordpress.org/support/plugin/qtranslate-x/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/qtranslate-x/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/qtranslate-x/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Gunu](https://wordpress.org/support/users/grafcom/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/php-code-wont-show-image/#post-6653152)
 * Status: resolved