Import Post Images - Dashboard Installer
Link: https://support.brilliantdirectories.com/support/solutions/articles/12000109080
The Install New Updates module on the admin dashboard lists one-time platform installers that still have pending steps on the site. Clicking the green Check For Updates button refreshes the list — an installer only appears when the site actually has something left to install, and it disappears from the list once its steps are complete.
What Import Post Images Does
This installer adds the database columns that the post image import process relies on. It does not move or download any image files itself; it adds the structure that lets the platform track post images for importing. It only adds columns; it does not delete or rewrite the posts.
It adds two columns each to the two tables that store posts:
- data_posts (single-image posts): adds an image_imported column and an original_image_url column.
- users_portfolio (group / multi-image posts): adds the same image_imported and original_image_url columns.
The two columns serve these purposes:
- image_imported is a small status field (an ENUM allowing the values 0, 1, and 2, defaulting to 0) that records whether a post's image was imported correctly.
- original_image_url is a text field (VARCHAR up to 255 characters) that holds the original image URL to import.
Why It Appears
The installer checks all four of these columns (both columns on data_posts and both on users_portfolio) and appears whenever any one of them is missing. If all four columns already exist, the installer does not appear.
This is a legacy condition. Databases created before these columns became standard will see the installer offered, while newer sites already have all four columns in place. Seeing it does not mean anything is broken; it means the database predates this structure update.
Why It Matters
These columns are the foundation the post image import process needs to know which images still have to be imported and whether each import succeeded. Without them, that import tracking has nowhere to store its data. Adding them brings the database in line with what the image import feature expects. Skipping the installer will not break the existing posts, but it leaves the database missing the columns that feature relies on.
How to Run It
- From the admin dashboard, find the Install New Updates module and click Check For Updates.
- If the site has pending steps, Import Post Images appears in the list. Click Install.
- After it completes, click Check For Updates again. The entry disappears once all four columns exist.
If Import Post Images does not appear in the list, the website is already up to date, so there is nothing to do.
After Running
Nothing changes visibly on the website. The single-image and group posts keep all of their existing content; only the two new tracking columns are added to each table. There is nothing to reconfigure afterward.
The installer re-checks the columns before making changes and only adds the ones that are still missing, so it is safe to run even if part of the update was already applied earlier. If all four columns already exist, it reports that the columns are already installed and makes no changes.
