You can decide to not copy the
c::set('staticbuilder.assets', ['assets', 'thumbs']);
But if you’re referencing files from the
content folder directly in your HTML, for example if you have some pages that output
<img src="/content/2-my-page/1-sub-page/cool-image.jpg" alt="…">, not copying the
content folder is going to be an issue.
StaticBuilder does not include an option to only copy images from the
content folder because Kirby pages can have all sorts of associated files that are referenced publicly in the HTML, in any format: image, PDF, SVG, audio or video, and even plain text.
Alternatively, you could use the
withfiles option, but note that files will be copied to a different location than the URL produced by the
(image: …) KirbyText syntax (or
$file->url()), so this only works for files you’re linking to yourself using HTML or Markdown syntax (for example:
<img src="cool-image.jpg" alt="…">).