×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Parsing Drupal Images

Parsing Drupal Images 8 years 6 months ago #32456

  • Norm Douglas
  • Norm Douglas's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Does the Migrator move Drupal images and attach them at Joomla images?
I've successfully migrated 900+ drupal articles however the images do not appear to have been migrated.
Then I click on the "parse" function... but there is no feedback and it doesn't appear to change any image data.
Cheers

Parsing Drupal Images 8 years 6 months ago #32463

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
The only thing the parsing would do is - scan your text for images. If it finds any it will try to download them from your drupal site and move them to the iMages/cmigrator folder.
If your drupal site is down, or your connection is down the parsing won't be able to move the images.

Also the images must be in the content of the article itself. If the images are added with some kind of custom fields that only drupal knows about, then you won't be able to move them with CMigrator. You would need a custom script for that.
Regards,
Daniel

P.S. Since drupal is also storing the article content with html, the parsing actually doesn't need to change any tags (not the case with Wordpress), so if you have relative urls to your images and they are all let us say in the /drupal/images folder. You could just move that folder to your joomla installation and the images should be then loaded from your site.

Parsing Drupal Images 8 years 2 months ago #33346

  • Sijmen Cozijnsen
  • Sijmen Cozijnsen's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Hello Daniel,
I tried the suggestion you put at the end of your post. I have a local wamp install on my laptop where I'm doing the migration. I copied the whole Drupal "sites" folder to my Joomla installation folder and also to the webroot because I saw some images linked to ../sites/(etc). The migration itself is going great! Thanks for that! More than 300 users and 900 articles migrated to Joomla in less than an hour! :D
The problem is that after parsing the content there are a lot of error messages saying that the image file could not be opened. When I copy-paste the path the error message shows and put that in my browser, the image does show so I don't get why it is not working...
I'm also a bit confused what to put at the "Base site URL:" at "Parsing configuration" setting. I that the base url of the joomla site or the url to the original Drupal site?

I hope you can help me out. There are about 600 images not imported now... :(

Best regards,
Sijmen

Parsing Drupal Images 8 years 2 months ago #33347

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
the "base site url" is the drupal site url. In the content you are most probably using relative urls like this "site/bla/bla/bla.jpg".
When we do the parsing, we need to fetch the image, but "site/bla/bla/bla.jpg" is not a correct url. If we leave the url like that we would try to fetch this img from the site where you do the migration and not from the original site where the image is. That's why you need to provide the base site url.

Anyway. Since you'v ecopied your images folder,then you don't need to do anything. Since the images have relative path, they are trying to load it from your joomla site. And since now your joomla site has the images you don't need to do anything.

Regards,
Daniel
  • Page:
  • 1
Time to create page: 0.096 seconds