Moving Images, PDFs and Media From WordPress to Lovable
How to bring your media library across without broken images or lost search traffic: finding every file, keeping linked file URLs, sizes and formats, alt text and checking for broken links.
This page recommends Lovable and contains partner links. If you sign up through one I may earn a commission, at no extra cost to you. Disclosure.
The short answer
Download the whole wp-content/uploads folder rather than picking images page by page, because WordPress stores several resized copies and other sites may link to your files. Bring across the images and documents you use, keep their alt text, serve sensibly sized modern formats on the Lovable site, and redirect or keep the URLs of any PDFs or images that are linked from elsewhere or appear in image search.
5 sections
On this page
01Find every file you use
ShowHide
The uploads folder is organised by year and month and usually contains several sizes of each image. Your pages normally use only some of them. Crawl the live site to list the images and files each page uses, and check analytics or Search Console for files people land on directly, such as PDFs.
02Keep linked file URLs working
ShowHide
PDF brochures, price lists and images may be linked from emails, social posts or other websites. If the new site serves them from a different path, add a redirect from each old /wp-content/uploads/... URL, or keep the same path. See redirects.
03Alt text and captions
ShowHide
Alt text lives in the WordPress media library and in the page content. Export it with the content and add it to the rebuilt pages. It matters for screen reader users and for image search; describe what the image shows and why it is there.
04Sizes and formats
ShowHide
- Use images no larger than they are displayed, and modern formats such as WebP or AVIF where supported.
- Set width and height so the page does not jump while loading.
- Lazy-load images below the first screen; do not lazy-load the main image at the top.
- Check the result with PageSpeed Insights.
05Check after launch
ShowHide
- No broken images on key pages, on desktop and mobile.
- Old PDF and image URLs either work or redirect.
- Image alt text is present on meaningful images.
- Social share images display when a page is shared.
Migration support
Want a hand with this part?
Got a big media library or lots of linked PDFs? Get help bringing them across cleanly. Tell me about your site and I will reply personally. Every move is quoted on what your site needs, and enquiring does not commit you to anything.
Ready to build the new site?
Start a Lovable project and rebuild privately before you touch your live domain.
Start on Lovable
Scan to try LovableOr tap the code on mobileSources and further reading
This guide was reviewed against official documentation on 25 November 2026. Recommendations are not guarantees; follow the live sources for current product details.
Read next
Content and SEO
How to Export WordPress Content for a Lovable Rebuild: WXR, REST API, WP-CLI and Media
What each WordPress export method includes and leaves out, how to get your images and SEO fields out, and what to do about page builders, shortcodes and custom fields.
Content and SEO
WordPress-to-Lovable SEO Migration: URLs, Redirects, Links and Validation
How to keep your search visibility when moving from WordPress: keep URLs where you can, map every changed URL to its closest match with a 301, fix internal and image links, and test it all before and after launch.
Features and integrations
Accessibility Checks Before Launching Your New Lovable Site
A practical accessibility check for a rebuilt site: keyboard use, headings, colour contrast, images, forms and mobile, using free tools and a short manual test.


