the default image is now under the static folder and the defaultImage is pointing to that image so that always works now.
for dynamic images like for sessions, I have added the publicURL variable in the gatbsy query and added that to the SEO. locally it seems to work, but could not find the static image before once deployed. Now checking what happened after everything deployed like this
The link to the SEO now points to the object, instead of the publicURL.