Portfolio icon indicating copy to clipboard operation
Portfolio copied to clipboard

Failed to load pdf file

Open priyacshah opened this issue 2 years ago • 6 comments

Hi,

After cloning and updating the code for the resume, I am getting the "Failed to load pdf file" in the resume section. Can you please help me to resolve this?

Screen Shot 2022-06-28 at 12 33 19 PM

Thanks, Priya Shah

priyacshah avatar Jun 28 '22 18:06 priyacshah

I was also facing the same issue. Try following these steps:

  1. Upload your resume in a GitHub repository. The URL will look like this. eg: https://github.com/soumyajit4419/Portfolio/blob/master/src/Assets/Soumyajit_Behera-BIT_MESRA.pdf

  2. Now change github.com to raw.githubusercontent.com and remove blob/ from the URL

  3. Now you can paste the newly changed URL into ResumeNew.js file. eg:const resumeLink = "https://raw.githubusercontent.com/soumyajit4419/Portfolio/master/src/Assets/Soumyajit_Behera-BIT_MESRA.pdf";

It worked for me. Hope it will work for you too :)

-Soman

somanyadav avatar Jul 01 '22 05:07 somanyadav

Can anyone please tell me how to increase the loading time in the portfolio site?

-Jeet

Jeet48 avatar Jul 03 '22 14:07 Jeet48

How to increase the size of the Resume or make it scrollable in a readable size.

mmansoornano avatar Aug 25 '22 11:08 mmansoornano

Run .py program

  1. Create a repo public for your resume
  2. In your repo Settings->Pages change it to Main Branch and save it Note: It takes 1 Minute to takes action
  3. After that copy the resume link address
  4. Run the below command in any Python online compiler or your IDE

Command

//Your link goes here

link = "https://github.com/knightlab-analyses/qurro-mackerel-analysis/blob/master/AnalysisOutput/qurro-plot.qzv"

//Paste the link of your resume copy link address above

print(link.replace("github.com", "raw.githubusercontent.com").replace("/blob/", "/"))

//Then run it and copy the output.paste it in ResumeNew.js //example output link:

https://raw.githubusercontent.com/knightlab-analyses/qurro-mackerel-analysis/master/AnalysisOutput/qurro-plot.qzv

Any Doubts regarding this feel free to contact me!

Kannxnravi avatar Oct 21 '22 09:10 Kannxnravi