Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › Generate a certificate with landscape pdf size
Tagged: certificate, pdf
- This topic has 23 replies, 4 voices, and was last updated 8 years, 11 months ago by mcucatto.
-
AuthorPosts
-
October 8, 2015 at 10:06 am #2004diwakarcSpectatorHi I want to Generate a certificate with landscape pdf size . I have attached a generated pdf. My certificate is in landscape size & generated pdf is in portrait.October 8, 2015 at 10:47 am #2017MrVibeKeymasterUnfortunately this can not be controlled by us. The landscape/portrait mode on printer dialog is a feature of the printer settings , not the document (HTML/PDF) and is controlled by the program that calls the printer, such as the web browser. While printing set this setting in your browser : Example :October 8, 2015 at 1:23 pm #2050diwakarcSpectatorCan we assign certificate automatically after he gets 70 marks.October 9, 2015 at 11:40 am #2180Anshuman SahuKeymasterIn course settings please set a certificate percentage :October 10, 2015 at 8:15 am #2299diwakarcSpectatorCertificates not generating properly. sometime it missing images before converting certificate image. I have attached pdf files. Might be it is issue with low bandwidth. Please reply how we can fix this.October 10, 2015 at 8:18 am #2304diwakarcSpectatorYou can see certificate here. http://beta.bigdataonlinetraining.us/hadoop-online-training/ On right sidebar, go down for certificate validation and enter 25229-4028-57October 10, 2015 at 11:53 am #2340Anshuman SahuKeymasterYou have to select the certificate template that you have created for that .October 10, 2015 at 12:07 pm #2341diwakarcSpectatorHi Alex Please read my question properly and reply. I have only one template and already selected that. "Certificates not generating properly. sometime it missing images before converting certificate image. I have attached pdf files. Might be it is issue with low bandwidth" Please reply how we can fix this."October 12, 2015 at 10:14 am #2470diwakarcSpectatorHi Can you give solution on this? We are getting issue on all browsers. When user goes to a profile, he clicks on certificates. Sometime images in certificate seen properly but when it converts to image. Images/pdf miss those images. I have attached images while generating a single certificate process. first image when ajax is loaded & second image when html is converted to image/pdf.October 12, 2015 at 10:54 am #2479Anshuman SahuKeymasterOkay i got the problem . Please try uploading the background image in your wordpress media libraray and then use it in the certificate . If already done the above please try using a small size background image . Please use this link to compress the size of the image : https://kraken.io/web-interface Reason behind using a small sized image is the script that takes screenshot of the certificate takes the screenshot before even the certificate background is fully loaded .October 12, 2015 at 11:00 am #2481diwakarcSpectatorHi Alex I don't think this will resolve problem. On test site I already used resized and compressed image. As you said same "Reason behind using a small sized image is the script that takes screenshot of the certificate takes the screenshot before even the certificate background is fully loaded .<span style="line-height: 1.5;">"</span> If this case then changes should to be made to js program to generate certificate after images are loaded. If bandwidth is low then this problem will remain continue.October 12, 2015 at 11:00 am #2482Anshuman SahuKeymasterPlease also make sure that background image that you are using is hosted on the same site url and s not coming through a CDN.October 12, 2015 at 11:37 am #2498diwakarcSpectatorHi Alex Excluding these images from cdn solved issue almost 95%. sometimes before loading images it is coming cutted or half loaded images. Can we change in js to convert certificate after images loaded.October 12, 2015 at 12:23 pm #2506diwakarcSpectatorI think this way we can fix this.
$( 'body' ).delegate( '#certificate', 'generate_certificate', function(event){ $(this).imagesLoaded( function(){ $(this).addClass('certificate_generated'); }); });
we can use this function .imagesLoaded( )October 13, 2015 at 12:20 pm #2707Anshuman SahuKeymasterThanks for the suggestion we tried the code but it did not worked for the certificate . This may be due to the image is being loaded from other domain . -
AuthorPosts
- The topic ‘Generate a certificate with landscape pdf size’ is closed to new replies.