# photo ebook

**URL:** <https://forum.literatureandlatte.com/t/photo-ebook/47303>\
**Category:** Scrivener for macOS\
**Tags:** support\
**Created:** [October 1, 2019, 5:37pm UTC](https://forum.literatureandlatte.com/t/photo-ebook/47303 "2019-10-01T17:37:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kadyra](https://forum.literatureandlatte.com/letter_avatar_proxy/v4/letter/k/eb9ed0/32.png) [@kadyra](https://forum.literatureandlatte.com/u/kadyra)\
**Post date:** [October 1, 2019, 5:37pm UTC](https://forum.literatureandlatte.com/t/photo-ebook/47303/1 "2019-10-01T17:37:49Z")

</div>

I’m creating a photo ebook. I’m using Canva to edit the photos and add text. But when I insert the photo in scrivener. The photo shrinks and is not centered on the page so when you look at a compile half of the image is cut off. I tried using the poem template because there are few sentences. Do I need to change my template back to plain text? Any help would be appreciated.

Kadyra

---

<div class="post-metadata">

**Author:** ![TromboneAl](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/tromboneal/32/94_2.png) [@TromboneAl](https://forum.literatureandlatte.com/u/TromboneAl)\
**Post date:** [October 3, 2019, 6:53pm UTC](https://forum.literatureandlatte.com/t/photo-ebook/47303/2 "2019-10-03T18:53:36Z")

</div>

You may need to use Sigil to edit the compiled files.

My free nonfiction book [Drive, Ride, Repeat](http://www.amazon.com/gp/product/B00J6HJIGU) has a lot of images. I created the ePub with Scrivener and then edited it with Sigil.

I was able to dig up my notes on how to handle the images, and here they are:

PROBLEM: Fix photos in Sigil  
SOLUTION: Centering:

Create a centered style called myimage  
Find the style name for the photo paragraphs (e.g., scrivener12)  
replace all those with myimage

Photo Width

Use Regex  
Replace width="[0-9][0-9][0-9]" with width=“98%”  
Replace height="[0-9][0-9][0-9]" with nothing

I also remember a lot of playing around with compression/quality of the images. This was back in 2015. There may be a better solution now.

This is what a typical page with an image looked like:

 ![Screen Shot 2019-10-03 at 11.52.07 AM.jpg](https://dev.literatureandlatte.com/uploads/default/original/2X/0/0db3462fb28a5685f9ca84049c4a8c285ad0dd15.jpeg)
