Opened 3 years ago
Last modified 15 months ago
#12322 new defect (bug)
Blog import fails to generate reduced-size images
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | WordPress.org |
| Component: | Import | Version: | |
| Severity: | normal | Keywords: | reporter-feedback needs-testing close |
| Cc: |
Description
I just imported from http://daveabrahams.wordpress.com (go ahead, try it yourself if you like) and chose to "Import Attachments." The only images from the original site that show up in the result are those that were originally displayed with size-full. The others need to be regenerated by inserting them freshly.
Change History (8)
comment:1
daveabrahams — 3 years ago
comment:2
daveabrahams — 3 years ago
Looks like the fix needs to be made somewhere around tags/2.9.2/wp-admin/import/wordpress.php#L651 but now my expertise is exhausted. Would really appreciate a fix or this importing business is going to be painful.
Thanks.
comment:3
daveabrahams — 3 years ago
- Keywords image,size,import added; image,size removed
- Keywords image size import added; image,size,import removed
- Milestone changed from Unassigned to 3.0
- Severity changed from major to normal
In the meantime, you could use the Regenerate Thumbnails plugin.
- Keywords reporter-feedback added; image size import removed
- Milestone changed from Awaiting Triage to Awaiting Review
Still an issue? Looks like a wp.com issue?
- Keywords needs-testing added
- Milestone changed from Awaiting Review to WordPress.org
- Keywords close added
This mostly worksforme when testing with the theme test data. All resized images show up correctly in post content. However, it relies on browser resizing of the full size image, e.g.
<img src="http://wp.dev/wp-content/uploads/2010/08/boat.jpg?w=300" alt="" title="boat" width="300" height="198" class="size-medium wp-image-544">
All images have their resized equivalents created and saved to disk, e.g. boat.jpg, boat-150x150.jpg and boat-300x198.jpg.

Actually the problem is that the URL syntax is different. The imported URL is:
and the required URL syntax is
This seems difficult to work around at best