adds new logic for portfolio, images, and image posts for the portfolio