Certificate background image disappear when click to preview and print

Home Forums Legacy Support Support queries Other issues Certificate background image disappear when click to preview and print

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #5670
    joaorocham
    Spectator
    Everytime a user try to see their certificates, they click on certificate and for a short time It's everything working just fine, but after a few seconds the backgroudn image disappears and it displays just the text. Happening in Chrome and FireFox
    #5762
    MrVibe
    Keymaster
    This is common issue. By the time background image is loaded the certificate is rendered by the script. The issue appears when the certificate image is loaded from other servers. Do not load the certificate image from external servers or CDN.  
    #5902
    joaorocham
    Spectator
    I uploaded the image by wordpress itself. Where should I upload it then?
    #6043
    MrVibe
    Keymaster
    Can you share your site link and a profile page where we can check this issue.  
    #6114
    joaorocham
    Spectator
    Site: http://gameacademy.com.br/ Member page: http://gameacademy.com.br/members/gustavorodrigues/ Image URL: http://gameacademy.com.br/wp-content/uploads/2015/10/GA_Certificado3.png Login: suport Password: suportwplms
    #6564
    MrVibe
    Keymaster
    Not able to login using above credentials. Also it seems you've enable the buddypress single member privacy settings, so I need to login to view the certificate.
    #6953
    joaorocham
    Spectator
    This credentials are fine, I used it right now, but anyway, use the administrator credentials.   Login: Admin Password:Ga#01022015
    #7138
    MrVibe
    Keymaster
    refer screenshot : http://prntscr.com/8z8gak  
    #7139
    MrVibe
    Keymaster
    The certificate background is rendered by CDN. Seems like you're using Jetpack Photon. So we needed to skip the certificate background image from photon. I used the following tutorial : http://jetpack.me/2013/05/03/skip-a-image-with-photon/ and following code to skip the image :
    
    function wplms_certificate_bg_image_photon_exception( $val, $src, $tag ) {
            if ( $src == 'http://gameacademy.com.br/wp-content/uploads/2015/10/GA_Certificado3.png' ) {
                    return true;
            }
            return $val;
    }
    add_filter( 'jetpack_photon_skip_image', 'wplms_certificate_bg_image_photon_exception', 10, 3 );
Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Certificate background image disappear when click to preview and print’ is closed to new replies.