Cannot add a background image
-
After wrestling with some other plugins providing responsive grids for Gutenberg I was very excited when I stumbled on this one. I thought the worst was behind me.
Unfortunately it has failed at the first hurdle. Tried to add a 3 column grid and set a background image on the columns using an image from the media library. I notice it appears to use a custom REST API to get the attachment and that fails with a 404. The standard media REST API works fine for the same post ID. It seems to have failed to register the custom REST API’s…?
https://.../wp-json/ghostkit/v1/get_attachment_image/22142?size=full&attr%5Bclass%5D=jarallax-img&attr%5Bstyle%5D=object-fit%3A%20cover%3Bobject-position%3A%2050%25%2050%25%3Bfont-family%3A%20%22object-fit%3A%20cover%3Bobject-position%3A%2050%25%2050%25%3B%22%3B&_locale=user
{"code":"rest_no_route","message":"No route was found matching the URL and request method","data":{"status":404}}
I am using S3 Offload Media to host all our images on AWS though I’m not sure that is related given the REST call returns a 404.
I sure hope this can be resolved soon because I would dearly love to take this for a proper test drive and find out if it can do the job of bringing a proper grid system to WordPress!
- The topic ‘Cannot add a background image’ is closed to new replies.