Thread tagged as: Question, Configuration, Forum

Show pre set selected images

Hi there,

I have a portfolio setup and I would like to allow our design team to choose what service was tendered for each portfolio complete.

Is there a way to show a list in the backend our team can select from with pre filled content.

  1. Brand - Pre filled field with a brand image/icon on the frontend.
  2. Packaging - Pre filled with a packaging image/icon on the frontend.

Regards Alec

Alec Sharples

Alec Sharples 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

I would use a select field, with its value set to be the unique portion of the file name, or the class you want to set in your HTML.

<img src="portfolio/brand-icon-<perch:content type="select" id="brand" options="Nike|nike,Adidas|adidas,Reebok|reebok" />.png" />

I seem to be over complicating parts I don't need to HAHA.

Thank You Drew.