Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image field URL format #258

Closed
Wenzel opened this issue Aug 15, 2017 · 4 comments
Closed

Image field URL format #258

Wenzel opened this issue Aug 15, 2017 · 4 comments

Comments

@Wenzel
Copy link

Wenzel commented Aug 15, 2017

Hi,

I would like some precisions about the image field.
First, the Schema page shows an example of JSON resume using a picture field.

However, after looking at the schema in detail, this field should be image. (please fix it if i'm correct).

Now, the string should be a URL pointing to a JPEG or PNG image.

I have a JPEG file in the same directory as my resume.json, and I tried multiple URLs:

  • file:///full/path/to/file.jpg
  • file://full/path/to/file.jpg
  • /full/path/to/file.jpg
  • file.jpg

But none of them work.

I tested using Kendall and elegant themes. (resume serve --theme kendall)

Can you give an example of a working resume.json using the image field ?

Thanks !

@Wenzel
Copy link
Author

Wenzel commented Oct 14, 2017

Hi,

Any updates about this issue ?
Anyone could provide me an example of a working resume with an image ?

Thanks.

@Wenzel
Copy link
Author

Wenzel commented Oct 16, 2017

I found the issue.

I was using the command serve, and this doesn't use the local template, but instead relies on the server to render the resume.

So having a local file referenced with file:/// wasn't the right solution.

I replaced it with http:// and it works !

Thanks

@Wenzel Wenzel closed this as completed Oct 16, 2017
@elyesbenamor
Copy link

sill having the same issue here

@ciprian-forcos
Copy link

Issue is still present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants