test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • amir00251 Friend
    #1062701

    I have installed Ja Twitter for my JA mood template.

    On the page I get:

    (index):1855 Mixed Content: The page at ‘https://www.mathsraven.com/‘ was loaded over HTTPS, but requested an insecure image ‘http://pbs.twimg.com/profile_images/899730923855523840/pRbbkvx2_normal.jpg‘. This content should also be served over HTTPS.
    (index):1873 Mixed Content: The page at ‘https://www.mathsraven.com/‘ was loaded over HTTPS, but requested an insecure image ‘http://pbs.twimg.com/profile_images/899730923855523840/pRbbkvx2_normal.jpg‘. This content should also be served over HTTPS.

    These two http links are twitter profile images that create this error. Could you provide a fix please?

    Thank you,
    Ahad

    Pankaj Sharma Moderator
    #1062778

    Hi
    Kindly post your site FTP account details in Private reply.

    Regards

    amir00251 Friend
    #1062858
    This reply has been marked as private.
    Mo0nlight Moderator
    #1062893

    Hi.

    I edited the file :
    /templates/ja_mood/html/mod_jatwitter/default.php

    And Change the line:
    38

    <img src="<?php echo str_replace('http:','https:',$item->profile_image_url); ?>" style="width:<?php echo $iconsize; ?>px;" alt="<?php echo $item->name; ?>" class="ja-twitter-avatar" />

    And the line:
    77

    <img style="width:<?php echo $sizeIconfriend; ?>px;" alt="<?php echo $friend->name; ?>" src="<?php echo str_replace('http:','https:',$friend->profile_image_url); ?>" />  
Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 3 replies, has 3 voices, and was last updated by  Mo0nlight 7 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum