joemccann / dillinger

The last Markdown editor, ever.
https://dillinger.io
MIT License
7.9k stars 1.1k forks source link

Image not present when exported to PDF #836

Open somusset opened 2 years ago

somusset commented 2 years ago

Hi, I managed to import images from my dropbox and they are correctly displayed in the styled HTML but when I preview or export in PDF the images are not present: this is what I get instead:

image

I was wondering if this is because the path to the image is not properly defined or simply if dillinger does not yet have the capability of exporting the images to the pdf. Thank you for your help!

joemccann commented 2 years ago

Hmm something wrong with the path. Did you upload the images into Dillinger?

On Thu, Apr 21, 2022 at 03:23 somusset @.***> wrote:

Hi, I managed to import images from my dropbox and they are correctly displayed in the styled HTML but when I preview or export in PDF the images are not present: this is what I get instead:

[image: image] https://user-images.githubusercontent.com/32943108/164434879-309268aa-495c-49a4-83da-bd4add4d43d8.png

I was wondering if this is because the path to the image is not properly defined or simply if dillinger does not yet have the capability of exporting the images to the pdf. Thank you for your help!

— Reply to this email directly, view it on GitHub https://github.com/joemccann/dillinger/issues/836, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALY2WYJE52BRNLWA2XKR3VGEUDNANCNFSM5T6YQEVA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Sent from Joe in Real Life

somusset commented 2 years ago

I do not know what you mean by uploading the image, so that's probably where the problem is. What I did was:

  1. Linking my dropbox to Dillinger
  2. Import images in my dropbox
  3. Find the link to the image and add it to my Dillinger document in the form:
![STIX quicklook lightcurves](https://previews.dropbox.com/p/thumb/ABgw6w69B09bZCTAf0kJ-jWNBgbvDmzOFQbICecmREhIUxbkv6QzEJXmefowRHBzBsy-gS2e9O86Z9cwKUWt5iBhmdYrYSjMuUnFRk7u58M7gsV3cj4oLey2V_y2rruTEl2krx3NUleD-jrt8uUBieFzQHBsCouWNNalj_aqmjGLkDzxrm6dPl6R3bsvC4aqLkzgfoMLqHq8bdWk0o3wejmLvxaGIpBivJ2OkgwDvTH_rEL1mcg5d1wIzMwvietNuQVcfcZdzSF3f2S8AFr0MgePKEBNeM_8EzYwJZieiRVddl_AWzDtWVIjgygiApDDRvKGl8QxZ6fu-lLCLqGh8pGvQqdGK1DcErzniDDO9ZzH-Ct5V6j7WYUoxawApHdbTP0/p.png) 

After trying a few things, that is the only way I managed to make my image appear in the preview of my document (which is the styled html preview)

joemccann commented 2 years ago

You can drag/drop images into dillinger.

On Thu, Apr 21, 2022 at 6:50 AM somusset @.***> wrote:

I do not know what you mean by uploading the image, so that's probably where the problem is. What I did was:

  1. Linking my dropbox to Dillinger
  2. Import images in my dropbox
  3. Find the link to the image and add it to my Dillinger document in the form:

STIX quicklook lightcurves

After trying a few things, that is the only way I managed to make my image appear in the preview of my document (which is the styled html preview)

— Reply to this email directly, view it on GitHub https://github.com/joemccann/dillinger/issues/836#issuecomment-1105236315, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALY2QYGJ4ZISUFYBWX5NLVGFMKNANCNFSM5T6YQEVA . You are receiving this because you commented.Message ID: @.***>