Images in article text

To insert an image into an article, follow the steps below.

Upload your image

  1. Go to the Content > Images tab.
  2. Click ‘Browse’ and choose the image you want to upload.
  3. Click ‘Upload’
  4. Upload or use Textpattern to create a thumbnail. This thumbnail should be no larger than 470px wide.
  5. Select “article images” from the category list
  6. For the ‘Alt text’ describe the content of the image (as if for someone who cannot see the image)
  7. For the ‘Caption’ type in the source, or other necessary info about your image
  8. Click ‘Save’

Add image to an article

In order to display these images in an article, insert the following where you want the image to appear. If the images were placed within the main text frame in the InDesign file, you should see [[IMAGE CODE HERE]] where the images should go. Replace that string with:

<txp:images name="image-name.jpg" form="image_center"  />

replacing image-name.jpg with the name of your image. NOTE: If the images in InDesign were in separate text frames, they may be output out of order (likely at the end). In this case you will have to remove all this code and place the images where they should go.