Hey so I tried this and now I get the error: Image_width must be a valid number. Any idea what’s up with that?
Topic summary
Users are encountering a validation error when migrating configuration files from Impulse theme version 7.1.0 to newer versions (7.2.0-7.4.0). The error message states: “Setting ‘image_width’ must be a string.”
Root Cause:
The theme developer (Archetype) changed how image width is handled between versions. In v7.1.0, image_width accepted numeric pixel values (e.g., "image_width": 700). In v7.4.0, the UI now uses Small/Medium/Large buttons, which correspond to string values: “33” (Small), “50” (Medium), and “66” (Large).
Attempted Solutions:
- Adding quotation marks around numeric values (e.g.,
"image_width": "700") - Removing spaces between the colon and number
- Replacing old numeric values with the new string format (“33”, “50”, or “66”)
Results vary—some users report success with quotation marks, while others still encounter errors.
Key Frustration:
Users express disappointment that Archetype’s release notes don’t clearly document breaking changes like this. One user reports having 20+ template files throwing this error, making the upgrade process time-consuming and costly for a premium theme ($350+ USD).
Status: The discussion remains open with no definitive solution confirmed to work universally across all scenarios.