Give me a sec … no.
But I found out another thing:
After updating as shown above, I’m downloading an image from external source, and then I’m doing this:
if ($downloaded) {
$page->image($fileName . '.jpg')->update(['template' => 'image']);
$page->update(['cover' => $fileName . '.jpg']);
}
… and if I comment out this last update, everything works as expected …
