If you have a lot of images in your manuscript (in the text itself, not just saved in the Binder), you may have wished for the ability to use image tags. Well, wish granted!
An image tag is a placeholder for an actual image that you insert into a text document. Why would you want to use it?
- To keep down your project file size.
- The ability to adjust all image sizes quickly via Project Replace within the manuscript, or Replacements in the Compile window.
- So you don't have to import all of the images into your project.
- To add scene break or chapter header icons.
- To ensure you always have the most up-to-date version of an image.
Adding an Image Tag
For the ImageName, use exactly what it's called in the Binder, including the extension (e.g., .jpg) if it's there.
For images located on a drive accessible by your computer, you'll need to use the complete path of the file. To find and copy the file path:
- Locate the image in File Explorer.
- Hold down the Shift key and then right-click the image file.
- Choose Copy as Path. (This is also available under the Home tab on the File Explorer ribbon.)
Adjusting the Image Size
If your original image isn't the size you want it in your book, you can tell Scrivener to adjust it by adding a width and height parameter in points. I usually recommend using either height or width and letting the other dimension adjust automatically so you don't get a skewed result, but you can include both. Examples:
There's also an option for ebooks that determines what width of the e-reader screen the image fills. This is done in percentages. If you include a height/weight and ebook parameter, the image will be rendered via the height/width in most formats, and via percentage when compiling to an ebook file type, like EPUB.
Notes on Image Tags
- Images in Scrivener are insert “inline,” which means they are treated like text. Basically, that means there's no word wrapping. If you want to set your image off from the surrounding text, put it on its own line.
- If you want to center the image, center the text of the image tag.
- If you rename or move an image, you'll have to fix the image tag to match.