Hi,
I’m trying to adjust a theme, so I can upload two additional logo images, but I’m running into issues. Maybe someone has an idea what can be the cause:
I added two additional custom settings with type “image” to the package.json.
In the Ghost admin panel, these new settings are displayed correctly.
But the “Upload Image” buttons in the admin panel for those two new images are not working properly, because they do not upload the second/third image, but only act like duplicates for the first image upload button:
When I delete the first image, I can click any of the 3 upload buttons and the uploaded file will be added as the first image… So there are two more buttons, but their functionality is that of the first button. When an image is already present for the first logo, the other buttons are unresponsive.
I checked the docs and cannot figure out what could be wrong. There is no mention of any limits on type “image” for custom settings.
This is the part of my package.json… the two footer_logo images are the new settings.
...},
"dark_mode_logo": {
"type": "image"
},
"footer_logo": {
"type": "image"
},
"footer_logo_dark": {
"type": "image"
},
"typography": {
...
This is the ghost admin panel displaying the new setting options:
I tried this locally and on a live site.
I did a ghost restart, and I switched to another theme and back, just to be sure.
I deleted cache…and so on. No changes.
There are less than 20 custom settings total, so it cannot be an issue with the custom setting limit.
Does anyone have an idea what could be the issue here?