×

Notice

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

TOPIC: Images migrations

Images migrations 12 years 4 months ago #16499

  • David Krištóf
  • David Krištóf's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Hello,
I would like to buy CMigrator, but I need to know if this extension can migrate article with all content images.

Thank you for your quick answer.

David

Re: Images migrations 12 years 4 months ago #16500

  • Petar Tuovic
  • Petar Tuovic's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 32
  • Thank you received: 9
Hi David,

With CMigrator you can migrate your content with your images without any problems. Just after migration use our parse function so CMigrator can download all of your images to Joomla! images folder. From 0.5 version you will be able to migrate comments as well.

Best Regards,
Petar

Re: Images migrations 12 years 4 months ago #16501

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
@Peter - wasn't there a problem if the images didn't have a full path (domain + path to the image)???

Re: Images migrations 12 years 4 months ago #16502

  • Petar Tuovic
  • Petar Tuovic's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 32
  • Thank you received: 9
Yes, I forgot to mention that. Thank you for reminding me Daniel. We are currently working to solve this.
So it is important to know that our image migration is currently working only with absolute paths for images!
So what does this means?
For an example, if you have in your article something like this:
<img src="./local_folder/some_image.png" alt="some image">
, we wont be able to migrate this. You will need to fix those source paths to look something like this:
<img src="http://www.yourwebsite.com/local_folder/some_image.png" alt="some image">
, either your source link can be just:
<img src="www.yourwebsite.com/local_folder/some_image.png" alt="some image">

However, you can do migration and after parsing you can change those source links. It is actually users choice right now. If you have any questions or you need any help with it, feel free to ask!

You can read more about "paths" here:
Wikipedia
or
webdesign.about.com

Re: Images migrations 12 years 4 months ago #16503

  • David Krištóf
  • David Krištóf's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Hello,
thank you for your advices. I would have related question:

Is it possible to migrate article content with thumb image?

ex.:

<div class="thumb ">
<a href=" www.dvojklik.cz/wp-content/uploads/2012/04/hacker.jpg " rel="prettyPhoto" title="xxx">

<img src=" www.dvojklik.cz/wp-content/themes/London...2&zc=1&q=100 " alt="xxx" class="imgf" style="opacity: 1; ">
</a>
</div>

Thank you

Re: Images migrations 12 years 4 months ago #16505

  • Petar Tuovic
  • Petar Tuovic's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 32
  • Thank you received: 9
Hey David,

Well this won't work actually. CMigrator would try to open file at location of your source destination but since this location is not having right headers CMigrator would skip it. You can send me your database if you can so I would test it and tell you the results.
This part of code would make you a problem with thumbs:
$headers = @get_headers($url);
if ($headers[0] == 'HTTP/1.1 404 Not Found' || $headers[0] == 'HTTP/1.1 301 Moved Permanently') {...}

Let me know if this answers your question.

Cheers,
Petar

Re: Images migrations 12 years 3 months ago #17093

  • chris clay
  • chris clay's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0

Petar Tuovic wrote: Yes, I forgot to mention that. Thank you for reminding me Daniel. We are currently working to solve this.
So it is important to know that our image migration is currently working only with absolute paths for images!


Hi,

Just wondering if the problem with relative images has been fixed? I just discovered this component and think that some of my clients would find it helpful, but I doubt that they all have absolute paths to their images. Aside from this, Cmigrator sounds great!

Chris

Re: Images migrations 12 years 3 months ago #17106

  • Petar Tuovic
  • Petar Tuovic's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 32
  • Thank you received: 9
Hi Chris,

Unfortunatly we still didn't fix this.
We are planing to fix it in upcoming version.

Cheers,
Petar

Images migrations 11 years 11 months ago #18705

  • chris clay
  • chris clay's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Hi,

Thought I'd check in and see if this issue was ever fixed - can images now be imported if they have relative URLs?

Thanks,
Chris

Images migrations 11 years 11 months ago #18706

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Chris,
Yes, we have this option now since a lot of time :)
cheers,
Daniel

Images migrations 11 years 11 months ago #18707

  • chris clay
  • chris clay's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Great, thanks!
  • Page:
  • 1
Time to create page: 0.140 seconds