New Landing How can we help? Themeforest Theme Support Dante Problem with images size with post and images in footer

Viewing 15 posts - 1 through 15 (of 24 total)
  • Posted in: Dante
  • #133963
    libertycom
    Member
    Post count: 60

    Hi,

    I do not understand why all the pictures of the items in FR on the home page are the right size, and articles in EN in the home page, the pictures are of all sizes.

    This is the same problem for the images in the footer, they are distorted in EN!

    Can you help me find out why and how to recover the images properly?

    Thank you.
    EG

    #134062
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi EG,

    Can you try this solution? http://www.swiftideas.com/forums/topic/wpml-one-of-your-php-scripts/

    Let us know,

    Thanks,
    laranz.

    #134248
    libertycom
    Member
    Post count: 60

    Hi,

    Thank you, but I don’t see what file I must change?

    Can you explain me?

    Thank you.
    EG

    #134334
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    I will forward this to Mohammad for you

    – Kyle

    #134341
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please open to edit aq_resizer-1x.php at /dante/includes/plugins/ through FTP software.

    Find this code
    if(strpos( $url, home_url() ) === false) {
    
    Change to :- 
    //you need to replace http://www.example.com/ with your website url 
    if(strpos( $url, 'http://www.example.com/' ) === false) {

    Thanks
    Mohammad

    #134494
    libertycom
    Member
    Post count: 60

    Hi,

    It doesn’t work!
    When I integrated this code, my homepage FR didn’t work as my homepage EN. But I want to have a good size images in my homepage EN as my homepage FR!

    Have you understand?

    Thank you.
    EG

    #134497
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please attach marked screenshot.
    Thanks
    Mohammad

    #134498
    libertycom
    Member
    Post count: 60

    Hi,

    Yes, you have one with the good screen. And the second with the no good screen with the problem of images that I want to remove.

    Thank you.
    EG

    Attachments:
    You must be logged in to view attached files.
    #134698
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    .recent-post figure img {
        display: block !important;
        height: auto;
        position: relative;
        width: 100%;
        min-width: 262px;
        min-height: 197px;
    }

    Thanks
    Mohammad

    #134725
    libertycom
    Member
    Post count: 60

    Hi,

    This code no change my problem.
    I have change height: auto with height: 197px.
    But, it doesn’t work.

    Thank you for your help.
    EG

    #134729
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please try out this custom css code and remove last one :-

    .recent-post figure img {
        min-width: 262px !important;
        min-height: 197px !important;
    }

    Thanks
    Mohammad

    #134730
    libertycom
    Member
    Post count: 60

    Hi,

    It’s better but not yet fine.

    EG

    #134738
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Images are not resizing through WPML so please contact at WPML support once.
    Thanks
    Mohammad

    #137990
    libertycom
    Member
    Post count: 60

    Hi,

    To date, I have not found a solution. And I have not been helped by WPML.

    EG

    #137991
    libertycom
    Member
    Post count: 60

    Hi,

    I do not understand why this is WPML to find the solution. For WPML does not touch the image is only a translation system! Why the two home pages can not be the same?
    You did not ask my codes to see the admin of the site?

    Thank you for your reply.
    EG

Viewing 15 posts - 1 through 15 (of 24 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register