|
|
Comments and Discussions
|
|
 |

|
Well, you still have to do something about the 'frame' image, because it was created for 600x800. Larger images mean a larger and new frame image.
Victor
VictorV
|
|
|
|

|
Great tool!
|
|
|
|

|
*blush* thanks!
Your name sounds Dutch. Fellow countryman?
VictorV
|
|
|
|

|
Hi,
How to disable the Maximize button?
Can you provide us with English version of "imgnotfound100x75.gif".
Thank you.
Kant
|
|
|
|

|
Kant wrote:
How to disable the Maximize button?
I'm not sure, but I think this can be done setting styles in the window definition for window 'main', section "[WINDOWS]" in album.hhp.
Kant wrote:
Can you provide us with English version of "imgnotfound100x75.gif".
It just says: "Photo not found", but you shouldn't need it if you provide all the photo files that you have registered in photos.js. imgnotfound100x75.gif is shown when the album cannot find a picture. Why make a photo album with missing pictures?
VictorV
|
|
|
|

|
Hi,
I did all the steps as you mentioned. When I try to run the .chm file I get the following script errors.
Error 1 :
Line: 41
Char: 1
Error : Syntax Error
Code : 0
URL : mk@MSITSTORE:C:\.....\Album\2002Album.chm::/start.htm
Error 2 :
Line: 22
Char: 1
Error : 'sAlbumTitle' is undefined
Code : 0
URL : mk@MSITSTORE:C:\.....\Album\2002Album.chm::/start.htm
What I did wrong?
I am using Windows XP (Service Pack 1), IE 6.0.2800
thanks
Kant
|
|
|
|

|
I think there's a script syntax error in file photos.js, where sAlbumTitle is defined.
Did you properly create the aPhotos array, "filename" COMMA "TITLE" COMMA, with no comma at the last entry? aPhotos must be a valid Javascript string array!
Is the sAlbumTitle variable a correctly delimited string or is there a double quote INSIDE the sAlbumTitle string?
// Set the title of the album
sAlbumTitle = "Victor's demo album";
// Define the photos.
aPhotos = new Array(
//"Filename", "Caption",
"001.jpg", "TechED 2001: Fira entrance",
"002.jpg", "TechEd 2001: Don Box explaining SOAP" // NO COMMA HERE!
);
VictorV
|
|
|
|

|
Good catch.
The thing is I added so many lines at that point, I forgot to remove the extra comma.
Excellent job.
You got my 5.
Kant
|
|
|
|

|
I have been working on this for about three hours now. It is not working. It keeps reverting to your album and says it cannot open my chm file. When I look for it I cannot find it. The pages have been changed as per your instructions.
I think the encoder is the problem.
It looks nice but is a lot of work.
Della
|
|
|
|

|
I'd appreciate it if you don't post anonymously, Della.
Anonymous wrote:
It keeps reverting to your album and says it cannot open my chm file
I do not understand what's happening, why don't you send over your files and I'll take a look.
VictorV
|
|
|
|

|
Thanks for putting this on the net Victor.
Your idea rocks!
I sat thinking to myself "There must be a simple way to do this", and this came up on my first search.
You saved me plenty of work.
Shot man.
DreamReaver
|
|
|
|
|
|

|
This photo album is really a nice idea, easy to handle even for beginners, and thank´s that u put it there 4 free. But it doesn´t work in my Opera browser, maybe i just haven´t configured right, but there is allways a Java error when i´m trying to use the album.
|
|
|
|
|

|
interesting idea to use html help for a photo album... check out mine if you get the chance....
cheers,
swine
Check out Aephid Photokeeper, the powerful digital
photo album solution at www.aephid.com.
|
|
|
|
|
|

|
Unisys is strongly enforcing their patent on the LZW compression that is used in GIF images. What is the implication of using GIF images with HTML Help and your photo album, especially since Microsoft does not pass on their own usage rights?
|
|
|
|

|
Well he (V.V.) did not write the .chm file display or compile utilities so I don't think there are any implications.
Knowing uni$y$ as I do though, they will probably think up some.
|
|
|
|

|
From the Microsoft website: Various Microsoft products provide read/write capability and/or other LZW capability covered by Unisys-owned U.S. patents 4,558,302, B1 4,558,302 and foreign counterpart patents. Although Microsoft is licensed under these patents, Microsoft’s license does not extend to software developers or third parties who use Microsoft toolkit, language, development or operating system products to provide GIF read/write and/or any other LZW capability in their own products ( e.g., by way of DLLs and APIs).
|
|
|
|

|
The only products involved in this article are from micro$oft who claim to have a valid license. The scripts and batch files V.V. has supplied do not constitute products.
|
|
|
|

|
From Unisys website (note that it doesn't restrict only "products"): "Unisys has frequently been asked whether a Unisys license is required in order to use LZW software obtained by downloading from the Internet or from other sources. The answer is simple. In all cases, a written license agreement or statement signed by an authorized Unisys representative is required from Unisys for all use, sale or distribution of any software (including so-called "freeware") and/or hardware providing LZW conversion capability (for example, downloaded software used for creating/displaying GIF images). In certain cases, no license fees may be required, but this needs to be evidenced by a written agreement or written statement signed by an authorized Unisys representative."
|
|
|
|

|
As V.V. explained, the Internet Explorer is the software that is used to display the images and Micro$oft has licensed the LZW patent for use in it. They also have a license to use it in the help compiler. As far as I know, none of the millions of users of IE have a license from Uni$ys to use it and THEY DO NOT NEED ONE.
I am all for legitimately licensing software and in this case it has been dealt with.
|
|
|
|

|
Luckily, I am not one of those persons who feel COMPELLED to always have the LAST WORD.
|
|
|
|

|
Really?
Andy Metcalfe - Sonardyne International Ltd
Trouble with resource IDs? Try the Resource ID Organiser Add-In for Visual C++
"I would be careful in separating your wierdness, a good quirky weirdness, from the disturbed wierdness of people who take pleasure from PVC sheep with fruit repositories."
- Paul Watson
|
|
|
|

|
As Rick York explained, the album doesn't create GIF files, just uses them. And the decompression and displaying of the GIF data is handled by Internet Explorer, which, I suppose, has a valid Unisys license. The GIF files in the album are created using a bitmap editor that licenses the LZW patent, otherwise the program wouldn't be allowed to write GIF files compressed with LZW).
If you're still not comfortable with using GIF/LZW, then step over to PNG, an free format like JPEG with GIF-like properties. I believe IE5 introduced PNG support. On my system (W2000Pro with IE6), the PNG filetype seems to be associated with browseui.dll ("Shell Browser UI Library" by Microsoft).
An HTML Help CHM file is a compilation/compression of one or more files, HTML, GIF, JPG, javascript etc. HTML Help (hh.exe/hhctrl.ocx) is a container that uses Internet Explorer to display the HTML pages.
VictorV
|
|
|
|

|
Have you used PNG in other applications? How does it compare to GIF in terms of image size? What external libraries are required (e.g. zlib, pnglib)?
By the way, I think your photo album is a great idea and nicely executed.
|
|
|
|

|
PNG and GIF are roughly equal in compression (for 8-bit data), PNG isn't so great with 24-bit data but that's why we have JPG. yes you need LibPNG and ZLib.
-c
Smaller Animals Software, Inc.
You're the icing - on the cake - on the table - at my wake. Modest Mouse
|
|
|
|

|
Thanks! (awaiting your rating...)
I haven't used PNG (yet). I mentioned it because it's a royalty free image format.
Victor
|
|
|
|

|
Thanks god there is PNG! From now on everybody use something else(PNG!) instead of GIF!!
|
|
|
|

|
Especially enjoyed seeing Tigger in actiuon ...
|
|
|
|

|
Thanx, it's my brother's submission to our fun website www.webknuffels.nl. You'll find some more Tigger pics at http://remcos.webknuffels.nl; the pic's titles are all Dutch unfortunately...
Victor
|
|
|
|
 |
|
|
General News Suggestion Question Bug Answer Joke Rant Admin
Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.
|
A complete electronic photo album in an HTML Help (.CHM) file with a front page, index, slide show and legend/about page.
| Type | Article |
| Licence | |
| First Posted | 27 Jan 2002 |
| Views | 183,441 |
| Bookmarked | 67 times |
|
|