Thumbnails Have Returned

Posted in OAImages News by John E. Pannell on May 18th, 2007 at 12:33 am

Thumbnail images have returned to the lodge pdf files users can create within the members area of this site. 

I’m guessing this stopped working about the time I was having trouble with the site’s server last Winter.  Either no one ever mentioned this to me, or I forgot if they did, and I didn’t realize it was a problem.  Most likely when I restored the site’s files, I reposted an older version of the Perl script that is needed to create thes pdf files that was not entirely error-free.

I apologize for any inconvenience. 

For the tech-oriented folks reading this post…

I use a program called HTMLDOC to convert HTML code generated by a Perl script into a pdf file.  It has served me well.  However it handles how images are included a bit differently than what most folks would consider “normal”

In HTML an image tag’s source is normally a complete or partial URL for an image file, creating code that looks like this:

< img http: //www.oaimages.com/some-image-here.jpg ... > (obviously that’s not a valid filename!)

However, HTMLDOC needs to use the true file paths and names. This generates results in HTML code that looks a little different:

< img src="/var/www/html/some-image-here.jpg"      ...>

The problem was very easy to fix once I knew what it was but it was hard to find at first as the “wrong” way (the first example) is actually valid HTML code.  It was frustrating.   After getting aggravated and spending some time working on my new deck, some adult beverage and a perusal of the online documentation was all that was needed to figure this out. ;)
Anway, all is better now.

"I worry about my child and the Internet all the time, even though she's too young to have logged on yet. Here's what I worry about. I worry that 10 or 15 years from now, she will come to me and say 'Daddy, where were you when they took freedom of the press away from the Internet?' "
Mike Godwin


This Post Viewed 101 Times

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>