Is there any reasonably straight-forward way to directly add new media photos within phpGedView itself without requiring the off-line gedcom generation/upload/import/etc.?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Another option you have are to edit the gedcom file directly and add the gedcom codes for an image:
1 OBJE
2 FILE C:\Documents and Settings\User\My Documents\My Pictures\genealogy\grandpa.jpg
You could also edit the MySQL database tables or the gedcom_index.php file and directly add the same codes above to the datastore.
In the future, the simplest way to do this will be through the GDBI projects client because it will automatically upload the media file and create a thumbnail for it.
In the future I will also add the ability to link to an image through the HTML editing interface, but it won't do the automatic upload or thumbnail generation.
--John
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-10-06
Thanks, John. I tried your first suggested option, and that worked fine. Now that I've looked over the gedcom_index.php a bit, I assume I should be able to handle the direct edit of that as well thereby bypassing the import step.
Lenny
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there any reasonably straight-forward way to directly add new media photos within phpGedView itself without requiring the off-line gedcom generation/upload/import/etc.?
There is not a simple way... yet.
Another option you have are to edit the gedcom file directly and add the gedcom codes for an image:
1 OBJE
2 FILE C:\Documents and Settings\User\My Documents\My Pictures\genealogy\grandpa.jpg
You could also edit the MySQL database tables or the gedcom_index.php file and directly add the same codes above to the datastore.
In the future, the simplest way to do this will be through the GDBI projects client because it will automatically upload the media file and create a thumbnail for it.
In the future I will also add the ability to link to an image through the HTML editing interface, but it won't do the automatic upload or thumbnail generation.
--John
Thanks, John. I tried your first suggested option, and that worked fine. Now that I've looked over the gedcom_index.php a bit, I assume I should be able to handle the direct edit of that as well thereby bypassing the import step.
Lenny