Image shows up ok in PDF output, but it's missing in mobi3 and epub output.

lk
lkgeorge
Posts: 24
Joined: Mon Mar 26, 2018 3:22 am
Platform: Mac

Fri Jul 13, 2018 3:08 am Post

The output contains the caption and the image name (instead of the image):

![[[New York City subway network closure, Hurricane Sandy, 2012—Metropolitan Transportation Authority CC BY 2.0]]]nyc_sandy_color

I tried to upload a small project to help reproduce it, but the 4.2MB file was too big. Let me know if I can send it another way. Thank you -

User avatar
KB
Site Admin
Posts: 20369
Joined: Tue Jun 13, 2006 11:23 pm
Platform: Mac
Location: Truro, Cornwall
Contact:

Wed Jul 18, 2018 8:05 pm Post

Could you please zip it up and send it to mac.support AT literatureandlatte.com, then reply here to let me know that you've sent it, so that I can look for it?

Thanks and all the best,
Keith
"You can't waltz in here, use my toaster, and start spouting universal truths without qualification."

lk
lkgeorge
Posts: 24
Joined: Mon Mar 26, 2018 3:22 am
Platform: Mac

Wed Jul 18, 2018 8:15 pm Post

KB wrote:Could you please zip it up and send it to mac.support AT literatureandlatte.com, then reply here to let me know that you've sent it, so that I can look for it?

Thanks and all the best,
Keith


Hi Keith, sent it and a few additional notes. Thanks--

User avatar
KB
Site Admin
Posts: 20369
Joined: Tue Jun 13, 2006 11:23 pm
Platform: Mac
Location: Truro, Cornwall
Contact:

Thu Jul 19, 2018 11:31 am Post

Great, thanks for sending that. It turns out that there is a bug in Scrivener that breaks images with captions if the caption contains a colour. In your case, part of the caption is set to use black text (whereas the rest of the caption is set to have no colour, which looks the same as black text but is not).

I have fixed the issue for 3.0.4, but seeing as you don't actually want colour in your caption, you can fix the problem in the project without waiting for the update as follows:

1. Select the caption text in the document.

2. Click and hold on the text colour button in the Format Bar (the button to the right of the "justify text" button). After a moment of clicking and holding, all of the colour options will appear in a popover.

3. Click on the white square with the red line through it. This will remove any colour (including the hidden black colour) from the text.

Things should now compile fine.

All the best,
Keith
"You can't waltz in here, use my toaster, and start spouting universal truths without qualification."

lk
lkgeorge
Posts: 24
Joined: Mon Mar 26, 2018 3:22 am
Platform: Mac

Thu Jul 19, 2018 4:34 pm Post

KB wrote:Great, thanks for sending that. It turns out that there is a bug in Scrivener that breaks images with captions if the caption contains a colour. In your case, part of the caption is set to use black text (whereas the rest of the caption is set to have no colour, which looks the same as black text but is not).

I have fixed the issue for 3.0.4, but seeing as you don't actually want colour in your caption, you can fix the problem in the project without waiting for the update as follows:

1. Select the caption text in the document.

2. Click and hold on the text colour button in the Format Bar (the button to the right of the "justify text" button). After a moment of clicking and holding, all of the colour options will appear in a popover.

3. Click on the white square with the red line through it. This will remove any colour (including the hidden black colour) from the text.

Things should now compile fine.

All the best,
Keith


Hi Keith, thanks very much!!