GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Putting djvu image into a report

Click to view RSS...
Author How to link an image to personal data
Posted Thursday, April 5, 2007 - Post #17258
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.0.1.5

Last Login: Saturday, March 14, 2020
Posts: 365, Visits: 3,680
I put the djvu images and the htm files in the main skin folder and they worked as you see above with just a simple link to the person's individual htm file which are also in this folder, but recently I have found that this no longer works and I have to put the full path on my computer in the link to get them to work. I don't know why this changed, but assume it to be a problem with IE.6. I will try posting a small test report at GenoPro to try various links.
These images are not essential which is why I made a new toc page for them as an alternative for the visitor. I think it is just a fun idea or "gimick" according to your point of view, but I like the idea inspite of needing the plugin.
Posted Thursday, April 5, 2007 - Post #17260
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 3 hours ago
Posts: 3,487, Visits: 27,238
The HTML standard does have a native facility for linking from images in a similar way to DjVu - client-side image mapping. This permits datatips and hyperlinks for predefined areas of a jpg image using the MAP and AREA tags. This may be a better technique to integrate within GenoPro as the HTML tags would map directly on to GenoPro XML tags, or simply Custom Picture tags. Of course an editor is still needed to define the 'hot-spots' on the image and define the datatips & links. A Google search reveals many such editors but a new tool internal to GenoPro would allow direct generation and storage of the required tags within the .gno files.

I have not done an in depth investigation but it does seem feasible. If the image is resized in an HTML report then adjustment of the AREA definitions is required. This I understand can be handled using javascript.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Thursday, April 5, 2007 - Post #17261
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, February 3, 2026
Posts: 4,886, Visits: 22,803
Ron (4/5/2007)
Of course an editor is still needed to define the 'hot-spots' on the image and define the datatips & links. A Google search reveals many such editors but a new tool internal to GenoPro would allow direct generation and storage of the required tags within the .gno files.

There are many exciting things GenoPro can do, one could be an "editor" to mark areas of a picture, whatever it is a .djvu or a .jpeg.  It is possible to store those 'hot-spots' in a .djvu and a .jpeg image (see post Selecting an individual from a photo group for further details)

If the image is resized in an HTML report then adjustment of the AREA definitions is required. This I understand can be handled using javascript.

The solution is to store the size of the image when those hot-spots were defined.  This way, if the image is re-sized, the hot-spots can be scaled according to the new image size.

Posted Thursday, April 5, 2007 - Post #17262
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.0.1.5

Last Login: Saturday, March 14, 2020
Posts: 365, Visits: 3,680
I just discovered that my djvu images don't work with firefox as there seems to be no plugin available
Posted Thursday, April 5, 2007 - Post #17263
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master

Customers
Important Contributors
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Sunday, March 21, 2021
Posts: 716, Visits: 12,927
IainTait (4/5/2007)
I just discovered that my djvu images don't work with firefox as there seems to be no plugin available


Just looked at your page and the djvu image shows up in FF, however no links yet to the individual page (may be not set up yet).

Suggest you increase the height of the embedded DJVU object.


Edited: Thursday, April 5, 2007 by maru-san
Posted Friday, April 6, 2007 - Post #17264
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.0.1.5

Last Login: Saturday, March 14, 2020
Posts: 365, Visits: 3,680
maru-san (4/5/2007)
IainTait (4/5/2007)
I just discovered that my djvu images don't work with firefox as there seems to be no plugin available


Just looked at your page and the djvu image shows up in FF, however no links yet to the individual page (may be not set up yet).

Suggest you increase the height of the embedded DJVU object.

I have just uploaded a test tree "Sinclair" but the only djvu which is connected is the Sinclair one and the links are ovals round the heads which I have tested and they work with IE6 but I couldn't get the djvus to show with Firefox 2.0.0.3 whereas the main Time line works with firefox but not with IE.6 though the personal and family embedded ones work with both.

Edited: Friday, April 6, 2007 by IainTait

Posted Monday, April 9, 2007 - Post #17307
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 3 hours ago
Posts: 3,487, Visits: 27,238
appleshaw (4/5/2007)
Where does djvu fit into GenoPro

Thoughts on how and where djvu images could be added to a Report

1 As they are basically images they should be in the Photograph area of the Report, and of GenoPro

2 Assuming that an image has been created and annotated it can be included on the Pictures tab in the 'Picture Location' box by using the browse function. (Does not need to be displayed although it would be an advantage to see the correct image is selected)

3 If that location could be picked up and used as a variable it would not be necessary to create a new htm file to get each image displayed - which is the stage we are at now.

4 The logical place to add these to the Report is in the list of Photographs, preferably in a separate list at the top or bottom to highlight the different type of imagery.

Any thoughts on this?

Any file including .DjVu and video files can be added as a GenoPro 'picture' but will not be understood by GenoPro. Unfortunately they also appear to be automatically filtered out of the Report by GenoPro and so can not be included in a Report even if the Report Generator skin knew what to do with them. I have tried!

However I have managed to build in limited support for Client Side Image Maps which, if all that is required is an image with annotated clickable areas, will do the job just as well as DjVu. I have put a demo into http://familytrees.genopro.com/Ron/HarryPotter/default.htm. The home page image is manually built but follow the >here< link on the home page to see the new feature. The image in the popup frame will have the image map applied. To achieve this in your own report requires some amended skin files and also a Picture Custom Tag _AreaMap containing all the <AREA .........> tags for the image.

I found a free, lightweight easy to use image mapper that does the job of creating the <AREA> tags admirably. See Handy Image Mapper down the page at http://www.silveragesoftware.com/handytools.html. This tool allows the clickable areas to be drawn and the tooltip and link to be set. Note that only the filename is required for the link, not the full path, so if you browse for the file in a local Report copy you need to remove the path part. It will place the AREA tags on the clipboard ready to be pasted into GenoPro. However the <MAP ..> </MAP> tags and any <IMG ....> tag must be removed as they are not required and also any newlines as the GenoPro UI does not allow newlines in Custom Tags. So I found it easiest to paste the tags from Handy Image Mapper into the comment field of the picture first and do the editing there before cutting and pasting it into the Custom Tag field.

Note that the _AreaMap Custom Tag Description should start with _ (underscore) to prevent it appearing under 'Additional Information'. I have uploaded the modified Harry Potter .gno file to the Report so that you can see what has been done with the sample. The 3rd picture for Draco Malfoy has the Area Map associated with it.

The attached skin files should be all that needs changing. Hopefully this should get into 2.0.0.4.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Image Maps.pdf (73 views, 340.56 KB)

Edited: Tuesday, April 10, 2007 by Ron
Posted Monday, April 9, 2007 - Post #17309
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.0.1.5

Last Login: Saturday, March 14, 2020
Posts: 365, Visits: 3,680
This "area" system is what controls the positions of the linked images on my web site and these areas where created by Microsoft Publisher which I used to make the basic web pages. It seems horribly complicated which is why I found the djvu system easier to set up. Unsure
Posted Monday, April 9, 2007 - Post #17310
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
GenoPro version: 2.5.4.0

Last Login: Thursday, January 11, 2024
Posts: 386, Visits: 4,475
It appears I was not paying attention in class when taught how to show maximised pictures in the lower frame. Mine appear in a separate frame mid screen when created by my report skin. The Harry Potter example locates them correctly.

I am using the latest skin developed for 'timelines'. Thanks.

Poolzone  a mere cog in a revolution

Posted Monday, April 9, 2007 - Post #17312
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master

Customers
Important Contributors
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Sunday, March 21, 2021
Posts: 716, Visits: 12,927
This feature was something I expected as soon the discussion (way back) about identification of individuals in group photos started.
The DjVu format was one idea and it will remain here, since the use of that format is very suitable for documents (several pages) and smaller in size than pdf and jpg.
Using this newly introduced feature will make a few files obsolete at my end, so its worth it.
Hope it will be a standard in the next Genopro version.


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse