If you need to upgrade your PGV installation, then hopefully you will also consider that you can conveniently move to webtrees with our PGV-to-webtrees wizard. It will move ALL your users, news, favorites and family trees to webtrees in a matter of minutes.

TOPIC: [SOLVED] Best way to transfer media

Best way to transfer media 3 years 7 months ago #1

  • postmaster@elfersi.com
  • postmaster@elfersi.com's Avatar
Hi,
I have successfully migrated from PGV 4.2.4 (PHP 5.4.45) to WT 1.7.2 using provided wizard.
What would be the best way to transfer the media files (this isn't supported by the wizard).
Best
The administrator has disabled public write access.

Best way to transfer media 3 years 7 months ago #2

  • ToyGuy
  • ToyGuy's Avatar
  • Offline
  • Moderator
  • Live like it's Christmas every day - Santa Stephen
  • Posts: 4925
As is instructed in the notes and in the wiki - move your media over to the correct folder and check permissions.
If you did it right, all will be in order.
Santa Stephen the Fabled Santa
Latest webtrees at MyArnolds.com
Hosted by webtreesonline.com, a division of GeneHosts LLC
MacOS 10.6.8, Apache 2.2+, PHP 5.4.16, MySQL 5.5.28
The administrator has disabled public write access.

Best way to transfer media 3 years 7 months ago #3

  • postmaster@elfersi.com
  • postmaster@elfersi.com's Avatar
Thanks ToyGuy,
Can you please provide the instructions url?
I couldn't find them
Best
The administrator has disabled public write access.

Best way to transfer media 3 years 7 months ago #4

  • bertkoor
  • bertkoor's Avatar
  • Offline
  • Gold
  • Greetings from Utrecht, Holland
  • Posts: 1575
How did you search??

I clicked "Wiki" from the top menu here, then searched for "Media" and these are the relevant pages:
wiki.webtrees.net/en/Converting_from_PhpGedView
This transfer wizard is not able to assist with moving media items. You will need to set up your media configuration in webtrees and move or copy your media objects separately after the transfer wizard is finished. webtrees stores media files slightly differently to PGV. See the Media Firewall page for details.

And that indeed doesn't lead anywhere. Perhaps this is a better page in the wiki about this subject:
wiki.webtrees.net/en/Media_Management

But you can configure where your media files from PGV were stored, and link them again.
stamboom.BertKoor.nl runs on webtrees v1.7.9
Last Edit: 3 years 7 months ago by bertkoor.
The administrator has disabled public write access.

Best way to transfer media 3 years 7 months ago #5

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11117
> What would be the best way to transfer the media files (this isn't supported by the wizard).

Copy them from where they are now, to where they need to go?

We don't know how you have configured either PGV or webtrees, so we cannot give you a folder name. PGV allowed you to include (or exclude) the media path. It also allowed media files to be in multiple locations. Only you know where your files are now.

Also, we don't know whether or not your media files (as defined in your GEDCOM data) contain paths, etc.

For webtrees, you can see the "Media folder" setting in the family tree preferences page. The filenames referenced in your GEDCOM file should be placed here.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

Best way to transfer media 3 years 7 months ago #6

  • postmaster@elfersi.com
  • postmaster@elfersi.com's Avatar
Thanks guys,
I haven't specifically configured anything.
Could you please let me know what information you need and I'll provide it?
Best
The administrator has disabled public write access.

Best way to transfer media 3 years 7 months ago #7

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11117
> Could you please let me know what information you need and I'll provide it?

Find two folders.

1) where are your media files now?
2) what is the "Media folder", defined in the family tree preferences.

Copy all the files from (1) into (2).
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

Best way to transfer media 3 years 7 months ago #8

  • postmaster@elfersi.com
  • postmaster@elfersi.com's Avatar
1) /www/phpGedView/media
2) /home/elfersi/www/webtrees/data/ then media/
I've copied all the files from 1) to 2)
But when I click any individual X, it says: 'The file “media/X.JPG” does not exist."
Can you please help?
The administrator has disabled public write access.
Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

Best way to transfer media 3 years 7 months ago #9

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11117
I guess that individual X is linked to media object Y, and that media object Y contains

1 FILE media/X.JPG

In PGV, this path "media/" was optional. X.JPG was treated the same as media/X.JPG.

If this is the case, you need to remove "media/" from each of your files. There's a qucik/easy way to do this. Export your data to a GEDCOM file. Import it again - but when you do, there is an option "media path to remove". Enter "media/"
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

Best way to transfer media 3 years 7 months ago #10

  • postmaster@elfersi.com
  • postmaster@elfersi.com's Avatar
That worked! Thanks so much for your help
The administrator has disabled public write access.

[SOLVED] Best way to transfer media 3 years 7 months ago #11

  • postmaster@elfersi.com
  • postmaster@elfersi.com's Avatar
Problem solved.
The administrator has disabled public write access.

Best way to transfer media 2 years 3 months ago #12

  • Williams
  • Williams's Avatar
  • Offline
  • New
  • Posts: 16
I know this is a year-old solved Topic, but just wanted to give a big "Thank You" to Greg for this. I had a /media/ directory and subdirectories in use on my PhpGedView installation, and after using the conversion wizard (which worked well, BTW) the media situation was driving me crazy. The 60 or so images in the base media/ directory worked fine, but the other 300 items in subdirectories were fubar. Attempts at editing individual records in Media Manager failed because each database entry already contained "media/media/".

If I'd found Greg's post sooner, I could have saved myself a lot of time, and very nearly an attempt at manually editing the mySQL data...which likely would not have gone well.

Thanks, Greg!

fisharebest wrote:
I guess that individual X is linked to media object Y, and that media object Y contains

1 FILE media/X.JPG

In PGV, this path "media/" was optional. X.JPG was treated the same as media/X.JPG.

If this is the case, you need to remove "media/" from each of your files. There's a qucik/easy way to do this. Export your data to a GEDCOM file. Import it again - but when you do, there is an option "media path to remove". Enter "media/"
Last Edit: 2 years 3 months ago by Williams.
The administrator has disabled public write access.

Best way to transfer media 2 years 3 months ago #13

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11117
Hi williams,

Good to hear you've got it sorted. Welcome to webtrees!

Greg
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.
Powered by Kunena Forum