What works
With a Pexels API key in Settings, PageForge can find a photo for a page and save it to your Media Library.
- Generated pages. Add
{AI:Image}anywhere in the template content. When PageForge creates a page, it removes the placeholder, searches Pexels for the row’s Service and City values, downloads the first landscape result and sets it as the featured image. - Blog Generator. Tick Include featured image (Pexels) and the draft post gets a photo based on its topic.
The search keyword and your API key are the only things sent to Pexels.
Set it up
- Create a free API key on the Pexels website.
- Paste it into Pexels API Key in PageForge > Settings and save.
- Add
{AI:Image}to the template content, with Service and City columns in your CSV. - Generate a few drafts and look at the photos before running the rest.
Limits and notes
- The search uses only the Service and City columns. If your CSV has neither, the search has nothing to go on and no image is added.
- PageForge takes the first result. Check that it fits, because a stock photo can show a place or a job that is not yours.
- Images are added when a page is created. Updating a page keeps its current featured image.
- PageForge does not add a photographer credit. Pexels asks users to credit photographers where they can.
- If no Pexels photo is used and the base layout has a featured image, new pages use that image instead.
Pro Every Pro plan can set a specific featured image per row from a column, using an image URL or a Media Library ID, with ALT text and a file name.
