Title: Image featured post problem multi language
Last modified: August 30, 2016

---

# Image featured post problem multi language

 *  Resolved [ruipdguerra](https://wordpress.org/support/users/ruipdguerra/)
 * (@ruipdguerra)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/image-featured-post-problem-multi-language/)
 * Hi there,
 * I am having an issue with multi language when displaying the thumbnail picture.
 *     ```
       <?php if (has_post_thumbnail()) : ?>
                               <div class="preloader GMnewslist"><a href="<?php the_permalink() ?>" class="bwWrapper link-icon"><img src="<?php echo TMM_Helper::get_post_featured_image($post->ID, '100*100'); ?>" alt="<?php the_title(); ?>" /></a></div>
                           <?php endif; ?>
       ```
   
 * And here’s the EN version:
    [EN](http://s11.postimg.org/g121e73lb/EN_version.jpg)
 * And here’s the PT and ES version:
    [PT & ES](http://s27.postimg.org/9m14oordv/PT_ES_version.jpg)
 * Any ideas why this is happening?
 * [https://wordpress.org/plugins/qtranslate-x/](https://wordpress.org/plugins/qtranslate-x/)

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/image-featured-post-problem-multi-language/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/image-featured-post-problem-multi-language/page/2/?output_format=md)

 *  Thread Starter [ruipdguerra](https://wordpress.org/support/users/ruipdguerra/)
 * (@ruipdguerra)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/image-featured-post-problem-multi-language/#post-6424858)
 * Anyone?
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/image-featured-post-problem-multi-language/#post-6424859)
 * [@ruipdguerra](https://wordpress.org/support/users/ruipdguerra/)
 * is this a Featured image? How dit you set it?
 *  Thread Starter [ruipdguerra](https://wordpress.org/support/users/ruipdguerra/)
 * (@ruipdguerra)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/image-featured-post-problem-multi-language/#post-6424860)
 * Yes it is a Featured Image
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/image-featured-post-problem-multi-language/#post-6424861)
 * How did you get it done that this language sensitive?
    I’ve never tried it myself.
 *  Thread Starter [ruipdguerra](https://wordpress.org/support/users/ruipdguerra/)
 * (@ruipdguerra)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/image-featured-post-problem-multi-language/#post-6424862)
 * This is already came with the theme..but this is silly.
    in the default language,
   all images are ok. when i change to PT or ES, doesnt respect this piece of code..
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/image-featured-post-problem-multi-language/#post-6424863)
 * can you give me a link so I can see it in action?
 *  Thread Starter [ruipdguerra](https://wordpress.org/support/users/ruipdguerra/)
 * (@ruipdguerra)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/image-featured-post-problem-multi-language/#post-6424866)
 * Sure, [here you have it](http://ruipdguerra.com/gamaexport/pt/industry-insight/)
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/image-featured-post-problem-multi-language/#post-6424869)
 * Yup, I see. Strange
 * In you theme css look for this:
 *     ```
       .preloader .fadein {
           opacity: 1 !important;
       }
       img {
           border: 0 none;
           height: auto;
           max-width: 100%;
       }
       ```
   
 * change max-with to 100px
 * Check whether this has no undesirable effects
 *  Thread Starter [ruipdguerra](https://wordpress.org/support/users/ruipdguerra/)
 * (@ruipdguerra)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/image-featured-post-problem-multi-language/#post-6424872)
 * Doesnt do what is expected.
    Check it pls
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/image-featured-post-problem-multi-language/#post-6424873)
 * but image max-width is still 100% instead of 100px
 *     ```
       img {
           border: 0 none;
           height: auto;
           max-width: 100%;
       }
       ```
   
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/image-featured-post-problem-multi-language/#post-6424874)
 * what is in
    class=bwWrapper link-icon ?
 *  Thread Starter [ruipdguerra](https://wordpress.org/support/users/ruipdguerra/)
 * (@ruipdguerra)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/image-featured-post-problem-multi-language/#post-6424875)
 * Yes, the img is still with max-width: 100% but its not beeing read.
    I have created
   a new selector for that image:
 *     ```
       .preloader.GMnewslist img {
           max-width: 100px;
       }
       ```
   
 *     ```
       .bwWrapper {
           position: relative;
           overflow: hidden;
           display: block;
       ```
   
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/image-featured-post-problem-multi-language/#post-6424879)
 * the CSS on the page shows it is still using
 *     ```
       img {
           border: 0 none;
           height: auto;
           max-width: 100%;
       }
       ```
   
 * try the !IMPORTANT
 *  Thread Starter [ruipdguerra](https://wordpress.org/support/users/ruipdguerra/)
 * (@ruipdguerra)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/image-featured-post-problem-multi-language/#post-6424892)
 * Still the same :S
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/image-featured-post-problem-multi-language/#post-6424894)
 * The width is now working, right?
 * Ask the developers of the theme how this works on their theme.
 * They can always contact us to tune things together.
 * We can not do any commercial theme changes if we do not have the source code.
   I hope you understand.

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/image-featured-post-problem-multi-language/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/image-featured-post-problem-multi-language/page/2/?output_format=md)

The topic ‘Image featured post problem multi language’ 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/)

 * 17 replies
 * 2 participants
 * Last reply from: [Gunu](https://wordpress.org/support/users/grafcom/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/image-featured-post-problem-multi-language/page/2/#post-6424898)
 * Status: resolved