This guide shows how to integrate the Featured Image from URL (FIFU) plugin with LPagery to dynamically set featured images and alt texts for your generated pages.
Note: If you are not using the FIFU plugin, you can still set featured images via LPagery’s regular image processing feature. For instructions, see our Guide to Image Processing.
Step 1: Set Up Your Template Page
Create a template page in WordPress with placeholders for dynamic content. This will serve as the base for your generated pages.
Step 2: Prepare Your Source File
Add the following columns to your source file for FIFU:
lpagery_fifu_url: Stores the URL of the featured image for each page.
lpagery_fifu_alt (optional): Sets the alt text for each featured image.
Example Source File
country | lpagery_fifu_url | lpagery_fifu_alt |
England | London Skyline | |
Germany | Brandenburg Gate | |
France | Eiffel Tower at Night |
Step 3: Load the Source File into LPagery
Upload your source file to LPagery. Once uploaded:
You’ll see previews of each featured image in the “Featured Image URL” column.
The alt text will appear under the “Featured Image Alt” column, if provided.
Step 4: Generate Pages
Click "Generate Pages" in LPagery. The featured images and alt texts will be automatically applied to the created pages.
Step 5: Verify Featured Images and Alt Text
To confirm:
Open the generated pages in edit mode.
Check the FIFU-controlled area to ensure the images and alt texts are correctly set.