To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 7950
7949  |  7951
Subject: 
Re: pictures at tracker
Newsgroups: 
lugnet.cad
Date: 
Wed, 15 May 2002 16:54:40 GMT
Viewed: 
553 times
  
In lugnet.cad, Don Heyse writes:
In lugnet.cad, Bernd Broich writes:
I have a suggestion about the tracker. Everytime when I search
for a part at the tracker I must download .dat file to see if
it's the right one. So I would suggest that there could be a
picture at the tracker. Not directly in the list but at the
detail page.
How far is this possible? And what is your oppinion about this?

Perhaps the offscreen rendering version of ldglite could be used
at ldraw.org to generate these pics on the fly in a CGI script?

Don, do you want to work on this?  If you do, I can point you in the right
direction, as far as scripts to alter and such.

It's been my plan to use ldglite offscreen for this.  But we should cache
the images after they're generated, since CPU time on the server is at
something of a premium.

I can think of two cached-image approaches:

1. Always generate a new image file when a file is submitted.  This can be
handled by the back-room posting script.
2. Have ptdetail.cgi check for an existing image file, and only generate it
if needed (either ptdetail.cgi compares the mod date of the .dat and the
image, or the back-room process erases old image files).

The main advantage to #2 is that it won't spend any time generating unused
images.

The main advantages to #1 are: it's simpler, and cgi's are more restrictive
security-wise -- it would be slightly harder to manage shelling out to
ldglite, and writing the image files to disk.



Message has 1 Reply:
  Re: pictures at tracker
 
(...) This is the approach I prefer. Jacob (22 years ago, 15-May-02, to lugnet.cad)

Message is in Reply To:
  Re: pictures at tracker
 
(...) Perhaps the offscreen rendering version of ldglite could be used at ldraw.org to generate these pics on the fly in a CGI script? Don (22 years ago, 15-May-02, to lugnet.cad)

77 Messages in This Thread:



















Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR