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

GenoPro Support Forum




bug found and fixed, incorrect subdirectory for 250x250 images

Click to view RSS...
Author
Posted Sunday, October 8, 2006 - Post #13684
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
GenoPro version: 2.0.1.6

Last Login: Tuesday, November 10, 2015
Posts: 102, Visits: 499
I enabled using thumbnails and found that for all thumbnails it was always using the 100x100 directory for the images. Even for the 250x250 (large) images, it was still taking the image from the 100x100 dir.

I quickly checked the code and saw a minor problem in utll.vbs (subroutine WriteHtmlPictures), which currently says:

        WriteHtmlPicture p, cxWidthMax, cyHeightMax, cxyPadding, strAlign, g_cxPictureSizeSmall, g_cyPictureSizeSmall

but should refer to its the max size provided as parameters to it, in stead of hardcoding g_cxPictureSizeSmall, so the code should say:

            WriteHtmlPicture p, cxWidthMax, cyHeightMax, cxyPadding, strAlign, cxWidthMax, cyHeightLimit

Can you please make the fix in the main code, so I do not have to fix this again in future versions of the skin?

rgds,

Ronald

Edited: Sunday, October 8, 2006 by rboshuis




Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse