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

GenoPro Support Forum




Picture aspect ratio in HTML reports

Click to view RSS...
Author Resizing images in the reports
Posted Monday, July 4, 2005 - Post #7056
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: 2 days ago @ 9:23 PM
Posts: 3,464, Visits: 26,854
Currently if the pictures have different height/width ratios then the text 'jumps' when the slide show is activated. This can be avoided if the image is padded out to the maximum dimensions using either vspace or hspace attributes of the html img element. e.g. for main pictures (248 x 248), if width of resized image is 173 say, then add hspace='37.5' to the genenerated html for the image (both in main area and select/option values). Similarly if resized height was say 152 then add vspace='48' attribute to img element.

Also if the image is clicked the full image is displayed in the same frame (i.e. detail.htm). My preference is for the image to be displayed in a new window. This can be achieved by adding the target='_blank' attribute to the anchor element.

So may I request that the methods Report.WritePicture and <genoobject>.ToHtmlHyperlinkPicture are amended so that the above are added either as defaults or as extra parameter options?

Another niceity would be for the Report Generator to reduce the file size of images by increasing JPEG compression ('save for Web') and also perhaps resizing the images when required to a user specified size. This would only be applied to images copied by the Report Generator to the 'pictures' folder, not the original images. Perhaps this could be included in version 3 if not possible for 2.



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


Edited: Thursday, June 8, 2006 by GenoProSupport



Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse