What You’ll Learn
- Uploading images to your MainWP Dashboard
- Locating custom report template files
- Adding image HTML code to PHP templates
- Testing and verifying image placement
Extension Add-on - This add-on provides standalone functionality within MainWP Dashboard. No third-party plugins required.
In this help document, we will cover adding images to existing custom Pro Report templates. For information on creating custom Pro Report templates, please refer to this document: Pro Reports Extension Overview
Upload the images to your MainWP Dashboard via FTP or similar methods, and note their URLs
Upload the images to your MainWP Dashboard via FTP or similar methods, and note their URLs
Navigate to the directory where the custom templates are stored: /wp-content/uploads/mainwp/report-templates/
Navigate to the directory where the custom templates are stored: /wp-content/uploads/mainwp/report-templates/
Download the desired PHP file to your PC and open it in your favorite text editor
Download the desired PHP file to your PC and open it in your favorite text editor
Replace the https://mainwpvideos.com/wp-content/uploads/plugins.png with the URL of your image
Replace the https://mainwpvideos.com/wp-content/uploads/plugins.png with the URL of your image
Save the PHP file and upload it back to the server to the same directory: /wp-content/uploads/mainwp/report-templates/
Save the PHP file and upload it back to the server to the same directory: /wp-content/uploads/mainwp/report-templates/
Related Resources
- Create Custom Report Templates - Build custom PHP templates
- Pro Reports Extension - Main Pro Reports documentation
- Available Pro Reports Tokens - Complete token reference

