Adding Images in Trinity

Trinity allows you to add your latest project or portfolio images.

Adding Project or Portfolio Images

To add your own images, follow these instructions:

  1. Select the images from your PC that you want to showcase and resize them, if necessary.
  2. Copy those images to the assets/images folder.
    • If you’re testing the template locally on your PC, then simply copy those images.
    • If you’ve already uploaded the template to your host’s server, then FTP those images into the assets/images folder.
  3. Open the index.html file in a code editor and look for the portfolio section within the file.
  4. Change the file names to the file names of your project/portfolio images.
    • For more information, refer to the code example.
  5. Repeat step 4 as needed.
  6. Save the file and view the updates on your PC.
    • If you’re testing locally, simply drag the index.html file into an empty tab of your favorite internet browser.
    • If you’ve already uploaded the template to your host’s server, then FTP the updated index.html file, and then view it in your browser.

Here is the code which you need to modify to link a new thumbnail and portfolio images:

<div class="portfolio-item" style="background-image: url('assets/images/project-1.jpg');"></div>
...
<div class="portfolio-item" style="background-image: url('assets/images/project-2.jpg');"></div>