Sorry if this has been covered elsewhere - I spent a lot of time in the documentation and issue queue and could not find it. If this feature is not supported I couldn't find that either. My problem is with images embedded in the body field. I'm having no problem with images in their own fields (base64 working fine there). Rather, the html code is just duplicated in the imported node without any image transfer. I received no errors within Drupal or the PHP error log. Here is my resulting export code:
'body' => array(
'en' => array(
array(
'value' => "<p>\r\n\t<span style=\"font-size: 14.4px; line-height: 20.16px;\">A 35 yo female presents with headache and giddiness for 13-15 days; vomiting, decreased appetite and generalized weakness for 10 days; detected HIV positive 10 days prior. </span></p>\r\n<p>\r\n\t<span style=\"font-size: 14.4px; line-height: 20.16px;\">Investigations:</span></p>\r\n<table border=\"1\" cellpadding=\"1\" cellspacing=\"1\" style=\"width: 381px;\">\r\n\t<tbody>\r\n\t\t<tr>\r\n\t\t\t<td>\r\n\t\t\t\t<strong>ESR</strong></td>\r\n\t\t\t<td style=\"width: 180px;\">\r\n\t\t\t\t<strong>100</strong></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>\r\n\t\t\t\tUrine</td>\r\n\t\t\t<td style=\"width: 180px;\">\r\n\t\t\t\tAlbumin Trace</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>\r\n\t\t\t\t<strong>CD4 Count</strong></td>\r\n\t\t\t<td style=\"width: 180px;\">\r\n\t\t\t\t<strong>9 cells/microliter</strong></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>\r\n\t\t\t\tECG</td>\r\n\t\t\t<td style=\"width: 180px;\">\r\n\t\t\t\tNAD</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>\r\n\t\t\t\tChest X-ray</td>\r\n\t\t\t<td style=\"width: 180px;\">\r\n\t\t\t\tNAD</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>\r\n\t\t\t\tCSF Study</td>\r\n\t\t\t<td style=\"width: 180px;\">\r\n\t\t\t\tNAD</td>\r\n\t\t</tr>\r\n\t</tbody>\r\n</table>\r\n<p>\r\n\t </p>\r\n<p>\r\n\tBrain MRI</p>\r\n<p>\r\n\t<img alt=\"MRI of the brain\" src=\"/sites/default/files/assets/images/large_India-Case_1-21July2016.JPG\" style=\"width: 180px; height: 180px; border-width: 1px; border-style: solid;\" /></p>\r\n",
'summary' => "<p>\r\n\tA 35 yo female presents with headache and giddiness for 13-15 days; vomiting, decreased appetite and generalized weakness for 10 days; detected HIV positive 10 days prior. A case of CNS Toxoplasmosis.</p>\r\n",
'format' => 'full_html',
'safe_value' => "<p>\n\t<span style=\"font-size: 14.4px; line-height: 20.16px;\">A 35 yo female presents with headache and giddiness for 13-15 days; vomiting, decreased appetite and generalized weakness for 10 days; detected HIV positive 10 days prior. </span></p>\n<p>\n\t<span style=\"font-size: 14.4px; line-height: 20.16px;\">Investigations:</span></p>\n<table border=\"1\" cellpadding=\"1\" cellspacing=\"1\" style=\"width: 381px;\"><tbody><tr><td>\n\t\t\t\t<strong>ESR</strong></td>\n<td style=\"width: 180px;\">\n\t\t\t\t<strong>100</strong></td>\n</tr><tr><td>\n\t\t\t\tUrine</td>\n<td style=\"width: 180px;\">\n\t\t\t\tAlbumin Trace</td>\n</tr><tr><td>\n\t\t\t\t<strong>CD4 Count</strong></td>\n<td style=\"width: 180px;\">\n\t\t\t\t<strong>9 cells/microliter</strong></td>\n</tr><tr><td>\n\t\t\t\tECG</td>\n<td style=\"width: 180px;\">\n\t\t\t\tNAD</td>\n</tr><tr><td>\n\t\t\t\tChest X-ray</td>\n<td style=\"width: 180px;\">\n\t\t\t\tNAD</td>\n</tr><tr><td>\n\t\t\t\tCSF Study</td>\n<td style=\"width: 180px;\">\n\t\t\t\tNAD</td>\n</tr></tbody></table><p>\n\t </p>\n<p>\n\tBrain MRI</p>\n<p>\n\t<img alt=\"MRI of the brain\" src=\"/sites/default/files/assets/images/large_India-Case_1-21July2016.JPG\" style=\"width: 180px; height: 180px; border-width: 1px; border-style: solid;\" /></p>\n",
'safe_summary' => "<p>\n\tA 35 yo female presents with headache and giddiness for 13-15 days; vomiting, decreased appetite and generalized weakness for 10 days; detected HIV positive 10 days prior. A case of CNS Toxoplasmosis.</p>\n",
),
),
),
Comments
Comment #2
tdurocher commentedComment #3
danielb commentedIIRC there's nothing in this module that would handle that scenario.