• <GetStart>
  • CSPro User's Guide
    • The CSPro System
    • Data Dictionary Module
    • The CSPro Language
    • Data Entry Module
      • Introduction to Data Entry
      • Data Entry Application
      • Data Entry Editing
      • CAPI Data Entry
        • Introduction to CAPI
        • CAPI Features
        • Capture Types
        • Questions
          • Question Text
          • Create Helps for Fields
          • Enter Question Text
          • Create Fills in Questions
          • Create Conditional Questions
          • Question Text Properties
          • Edit Styles
          • Change Formatting
          • Add Images
          • Insert Link in Question Text
          • Define Languages
          • Use Multiple Languages
          • HTML Question Text
          • QSF Question Text Template Object
          • Question Text Macros
        • Multimedia
        • CAPI Strategies
        • How to ...
      • Network Data Entry
      • Android Data Entry
    • Batch Editing Applications
    • Tabulation Applications
    • Data Sources
    • CSPro Statements and Functions
    • Text Templates
    • Templated Reporting System
    • HTML, Markdown, and JavaScript Integration
    • Action Invoker
    • Appendix
  • <CSEntry>
  • <CSBatch>
  • <CSTab>
  • <DataManager>
  • <TextView>
  • <TblView>
  • <CSFreq>
  • <CSDeploy>
  • <CSPack>
  • <CSDiff>
  • <CSConcat>
  • <Excel2CSPro>
  • <CSExport>
  • <CSIndex>
  • <CSReFmt>
  • <CSSort>
  • <ParadataConcat>
  • <ParadataViewer>
  • <CSCode>
  • <CSDocument>
  • <CSView>
  • <CSWeb>

Add Images

Pictures and other graphics can be added to your question text. Most common image formats are supported, including JPEG, PNG, WebP, GIF, and BMP formats. You can insert an image by:
  1. Clicking on the Insert Image on the toolbar in the question text editor.
  2. Selecting Insert Image from the Question Text menu.
  3. Right-clicking inside the question window and choosing Insert Image.
  4. Using the code view and adding an HTML image tag.
Image File Storage
By default, when you insert an image, the image file is added as a resource file. A copy of the image will be placed in a directory named Resources located where your application file resides. When you generate a compiled application, the image will be added to the .pen file. This is the simplest way to ensure that all images are copied to the interviewers' devices when you deploy your application.
If you wish to manage image storage yourself, uncheck the box Copy to 'Resources' directory as an application resource? when choosing the image file. When this box is not checked, CSPro does not make a copy of the image file but instead stores the relative path from your application directory to the folder that contains the image file. This means that if you move or copy the application you will also need to move/copy the image file in such a way that the relative path does not change. In general, it is easier to allow CSPro to include image files as resources. However, if you want to share the same image file among multiple applications you may consider managing the image file locations yourself.
Adding high-resolution images, such as digital photos, will increase the size of your application which may make it slow to install and update the application over the internet. You should consider resizing large images using an image editor before adding them to the question text.