Images folder not uploaded

Hi,

When exporting my theme, my “images” folder isn’t exported for some reason.
If i upload manually my “images” folder, every time I export my theme my “images” folder get deleted.

Am I doing something wrong ?

Kind regards,
Siegfried

Export starter…
apiValidated.
getCurrentUser and settings.
true
true
Got project post with ID 2270
Deleted the project error log.
true
Require the file system…
Done.
Getting the FS instance…
true
Checking if this is a PG project…
working_dir = /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h
Here is the list of exported files:
— blocks/contact/contact.php
— blocks/contact/contact_register.php
— blocks/contact/contact.js
— inc/wp_pg_helpers.php
— inc/wp_pg_blocks_helpers.php
— blocks/pg-blocks-controls.js
— blocks/pg-blocks-controls.css
— inc/wp_simple_form_mailer.php
— inc/wp_smart_navwalker.php
— blocks/titre-page/titre-page_register.php
— blocks/faq-full/faq-full_register.php
— blocks/titre-page/titre-page.js
— blocks/faq-full/faq-full.js
— blocks/etapes/etapes.php
— blocks/faq-small/faq-small.php
— blocks/blog-small/blog-small.php
— blocks/slides/slides_register.php
— blocks/presentation/presentation_register.php
— blocks/etapes/etapes_register.php
— blocks/video/video_register.php
— blocks/logo/logo_register.php
— blocks/key-features/key-features_register.php
— blocks/faq-small/faq-small_register.php
— blocks/blog-small/blog-small_register.php
— blocks/slides/slides.js
— blocks/presentation/presentation.js
— blocks/etapes/etapes.js
— blocks/video/video.js
— blocks/logo/logo.js
— blocks/key-features/key-features.js
— blocks/faq-small/faq-small.js
— blocks/blog-small/blog-small.js
— inc/wp_pg_pagination.php
— home.php
— header.php
— footer.php
— index.php
— page.php
— single.php
— assets/css/custom.css
— assets/js/custom.js
— assets/libs/tobii/css/tobii.min.css
— assets/libs/tobii/js/tobii.min.js
— inc/custom.php
— pgia/components/controls.css
— pgia/components/slider.css
— tailwind_theme/tailwind_for_wp_editor.css
— tailwind_theme/tailwind-copy.css
— tailwind_theme/tailwind.css
— functions.php
— style.css
— pgia/lib/pgia.js

File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/contact/contact.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/contact/contact_register.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/contact/contact.js
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/inc/wp_pg_helpers.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/inc/wp_pg_blocks_helpers.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/pg-blocks-controls.js
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/pg-blocks-controls.css
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/inc/wp_simple_form_mailer.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/inc/wp_smart_navwalker.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/titre-page/titre-page_register.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/faq-full/faq-full_register.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/titre-page/titre-page.js
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/faq-full/faq-full.js
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/etapes/etapes.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/faq-small/faq-small.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/blog-small/blog-small.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/slides/slides_register.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/presentation/presentation_register.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/etapes/etapes_register.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/video/video_register.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/logo/logo_register.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/key-features/key-features_register.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/faq-small/faq-small_register.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/blog-small/blog-small_register.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/slides/slides.js
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/presentation/presentation.js
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/etapes/etapes.js
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/video/video.js
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/logo/logo.js
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/key-features/key-features.js
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/faq-small/faq-small.js
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/blocks/blog-small/blog-small.js
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/inc/wp_pg_pagination.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/home.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/header.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/footer.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/index.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/page.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/single.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/assets/css/custom.css
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/assets/js/custom.js
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/assets/libs/tobii/css/tobii.min.css
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/assets/libs/tobii/js/tobii.min.js
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/inc/custom.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/pgia/components/controls.css
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/pgia/components/slider.css
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/tailwind_theme/tailwind_for_wp_editor.css
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/tailwind_theme/tailwind-copy.css
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/tailwind_theme/tailwind.css
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/functions.php
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/style.css
File written: /volume1/web/projects/obyo/wp-content/upgrade/export-oMzGs4ID8h/pgia/lib/pgia.js
Files written.
Pinegrow signature file created.
Requesting class-wp-upgrader.php
backup_dir = /volume1/web/projects/obyo/wp-content/themes/obyo__pg_backup
Getting Upgrader instance…
Upgrader->install_package…
Done.
Export done.

(I hadn’t explored this aspect thoroughly and from my tests, following your message, here’s what it comes up)

When you import an existing HTML template, the images that are not used in the static part of your HTML are automatically imported into the WordPress library so you can select them to build your theme from the Pinegrow plugin.

So if none of the images in your imported project are part of the HTML, then you won’t find the folder in the root but the images will be available in the WordPress media library instead.

If the images inside your images folder are part of the HTML (used in the code), then you will find them available in your images folder which will be imported normally.

2 Likes