Re: [fileinfo . . .]
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 34682
interpreted = N
texte = What do you see when you do the include?As you know we discovered that the [imageheight] breaks when you do no havethe right image type specified. So I think this would work.Lets assume we wrote the file twice, once as a .jpg and once as a .gif[showif [fileinfo this.gif][imageheight][/fileinfo]!][text]filetype=gif[/text][/showif][showif [fileinfo this.jpg][imageheight][/fileinfo]!][text]filetype=jpg[/text][/showif][!][fileinfo this.jpg][imageheight][/fileinfo] returns nothing when it isnot the right filetype [/!]your file is a [filetype]keep that one and delete the other.[showif [filetype]=gif][deletefile this.jpg][movefilefrom=this.gif&to=saved/this.gif][/showif][showif [filetype]=jpg][deletefile this.gif][movefilefrom=this.jpg&to=saved/this.jpg][/showif]Robert MinorDirector of Internet Services------------------------------------------------------------Cybermill Communicationshttp://www.cybermill.com http://www.merchantmaker.comProviding Ecommerce and interactive website development andhosting services on Macintosh, Windows NT, Unix, and AS/400.> From: Kenneth Grome
> Reply-To: (WebCatalog Talk)> Date: Thu, 13 Jul 2000 14:09:42 -1000> To: (WebCatalog Talk)> Subject: Re: [fileinfo . . .]> > It will work if you put the include tag in a [url] context.> >> Sorry. This did not work.>> But thanks!>> >> >> --- Jesse Proudman (Lists Account)>> wrote:>>> Try:>>> >>> [showif [include>>> file=path/to/jpg/that/is/a.gif]^GIF89]It's a>>> GIF[/showif]>>> >>> That might work. My brain full of limited knowledge>>> can't see a situation>>> where it wouldn't.>>> >>> Jesse Proudman - NineWire Digital>>> Solutions>>> http://www.ninewire.com <>>>> jesse@ninewire.com>>> Innovative and Creative Digital>>> Solutions>>> >>> >>> >> ******************************************************************>>> * NineWire Productions and Digital Speed Networks,>>> have merged!! *>>> * We are now known as NineWire Digital>>> Solutions! *>>> >>> >> ******************************************************************>>> >>>> -----Original Message----->>>> From: WebCatalog Talk>>> [mailto:WebDNA-Talk@talk.smithmicro.com]On>>>> Behalf Of Jeff Grady>>>> Sent: Thursday, July 13, 2000 3:21 PM>>>> To: WebCatalog Talk>>>> Subject: [fileinfo . . .]>>>> >>>> >>>> I posted a message earlier about problems with>>> http>>>> upload. After some help from Bob Minor, we>>> determined>>>> that the problem was this . . .>>>> >>>> IF you use [fileinfo ....path] to get the>>> [imagewidth]>>>> or the [imageheight] for a file, and the file you>>> are>>>> getting this information for is named xxxx.gif,>>> BUT it>>>> is really is a jpeg file (or vise-versa) some>>> hooey>>>> things can happen to the information that is>>> returned>>>> within the [fileinfo] tags.>>>> >>>> So, if webCatalog 4.0 can extract width and height>>>> information from the binary data of jpeg and gif>>>> files, it should be very easy to also tell if the>>>> image is compressed using jpeg or gif compression.>>>> Thus a [filetype] tag would be very useful.>>>> >>>> Is there anyway that anyone can think of or knows>>> of>>>> to use WebDNA look at a file and tell what type>>> it>>>> REALLY is without looking at the extension on the>>>> filename?>>>> >>>> Thanks!>>>> Jeff>>>> >>>> __________________________________________________>>>> Do You Yahoo!?>>>> Get Yahoo! Mail ñ Free email you can access from>>> anywhere!>>>> http://mail.yahoo.com/>>>> >>>> >>> >> ------------------------------------------------------------->>>> This message is sent to you because you are>>> subscribed to>>>> the mailing list>>> .>>>> To unsubscribe, E-mail to:>>> >>>> To switch to the DIGEST mode, E-mail to>>>> >>>> Web Archive of this list is at:>>> http://search.smithmicro.com/>>> >>> >>> >> ------------------------------------------------------------->>> This message is sent to you because you are>>> subscribed to>>> the mailing list>>> .>>> To unsubscribe, E-mail to:>>> >>> To switch to the DIGEST mode, E-mail to>>> >>> Web Archive of this list is at:>> http://search.smithmicro.com/>> >> >> __________________________________________________>> Do You Yahoo!?>> Get Yahoo! Mail ñ Free email you can access from anywhere!>> http://mail.yahoo.com/>> >> ------------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to>> >> Web Archive of this list is at: http://search.smithmicro.com/> > > > ================================> Kenneth Grome, WebDNA Consultant> 808-737-6499 http://webdna.net> ================================> > > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
What do you see when you do the include?As you know we discovered that the [imageheight] breaks when you do no havethe right image type specified. So I think this would work.Lets assume we wrote the file twice, once as a .jpg and once as a .gif[showif [fileinfo this.gif][imageheight][/fileinfo]!][text]filetype=gif[/text][/showif][showif [fileinfo this.jpg][imageheight][/fileinfo]!][text]filetype=jpg[/text][/showif][!][fileinfo this.jpg][imageheight][/fileinfo] returns nothing when it isnot the right filetype [/!]your file is a [filetype]keep that one and delete the other.[showif [filetype]=gif][deletefile this.jpg][movefilefrom=this.gif&to=saved/this.gif][/showif][showif [filetype]=jpg][deletefile this.gif][movefilefrom=this.jpg&to=saved/this.jpg][/showif]Robert MinorDirector of Internet Services------------------------------------------------------------Cybermill Communicationshttp://www.cybermill.com http://www.merchantmaker.comProviding Ecommerce and interactive website development andhosting services on Macintosh, Windows NT, Unix, and AS/400.> From: Kenneth Grome > Reply-To: (WebCatalog Talk)> Date: Thu, 13 Jul 2000 14:09:42 -1000> To: (WebCatalog Talk)> Subject: Re: [fileinfo . . .]> > It will work if you put the include tag in a [url] context.> >> Sorry. This did not work.>> But thanks!>> >> >> --- Jesse Proudman (Lists Account)>> wrote:>>> Try:>>> >>> [showif [include>>> file=path/to/jpg/that/is/a.gif]^GIF89]It's a>>> GIF[/showif]>>> >>> That might work. My brain full of limited knowledge>>> can't see a situation>>> where it wouldn't.>>> >>> Jesse Proudman - NineWire Digital>>> Solutions>>> http://www.ninewire.com <>>>> jesse@ninewire.com>>> Innovative and Creative Digital>>> Solutions>>> >>> >>> >> ******************************************************************>>> * NineWire Productions and Digital Speed Networks,>>> have merged!! *>>> * We are now known as NineWire Digital>>> Solutions! *>>> >>> >> ******************************************************************>>> >>>> -----Original Message----->>>> From: WebCatalog Talk>>> [mailto:WebDNA-Talk@talk.smithmicro.com]On>>>> Behalf Of Jeff Grady>>>> Sent: Thursday, July 13, 2000 3:21 PM>>>> To: WebCatalog Talk>>>> Subject: [fileinfo . . .]>>>> >>>> >>>> I posted a message earlier about problems with>>> http>>>> upload. After some help from Bob Minor, we>>> determined>>>> that the problem was this . . .>>>> >>>> IF you use [fileinfo ....path] to get the>>> [imagewidth]>>>> or the [imageheight] for a file, and the file you>>> are>>>> getting this information for is named xxxx.gif,>>> BUT it>>>> is really is a jpeg file (or vise-versa) some>>> hooey>>>> things can happen to the information that is>>> returned>>>> within the [fileinfo] tags.>>>> >>>> So, if webCatalog 4.0 can extract width and height>>>> information from the binary data of jpeg and gif>>>> files, it should be very easy to also tell if the>>>> image is compressed using jpeg or gif compression.>>>> Thus a [filetype] tag would be very useful.>>>> >>>> Is there anyway that anyone can think of or knows>>> of>>>> to use WebDNA look at a file and tell what type>>> it>>>> REALLY is without looking at the extension on the>>>> filename?>>>> >>>> Thanks!>>>> Jeff>>>> >>>> __________________________________________________>>>> Do You Yahoo!?>>>> Get Yahoo! Mail ñ Free email you can access from>>> anywhere!>>>> http://mail.yahoo.com/>>>> >>>> >>> >> ------------------------------------------------------------->>>> This message is sent to you because you are>>> subscribed to>>>> the mailing list>>> .>>>> To unsubscribe, E-mail to:>>> >>>> To switch to the DIGEST mode, E-mail to>>>> >>>> Web Archive of this list is at:>>> http://search.smithmicro.com/>>> >>> >>> >> ------------------------------------------------------------->>> This message is sent to you because you are>>> subscribed to>>> the mailing list>>> .>>> To unsubscribe, E-mail to:>>> >>> To switch to the DIGEST mode, E-mail to>>> >>> Web Archive of this list is at:>> http://search.smithmicro.com/>> >> >> __________________________________________________>> Do You Yahoo!?>> Get Yahoo! Mail ñ Free email you can access from anywhere!>> http://mail.yahoo.com/>> >> ------------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to>> >> Web Archive of this list is at: http://search.smithmicro.com/> > > > ================================> Kenneth Grome, WebDNA Consultant> 808-737-6499 http://webdna.net> ================================> > > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Bob Minor
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
WebCatalog for guestbook ? (1997)
[WebDNA] anyone successfully using webdna with paypal's NVP API? (2008)
Price override - solved (2004)
Slow wiht MAC OS and Webstar IV (2002)
Multiple prices (1997)
paging through results detail view (2003)
apostrophe in search item (1997)
Reversed words (1997)
Multiple catalog databases and showcart (1997)
Organisation website (2005)
WebCat2b12 - New features for 1.6 users ... (1997)
[WebDNA] autoresponder email addresses (2012)
Draft Manual, Tutorial, and more (1997)
math problems (2000)
Multi-processor Mac info ... (1997)
Date search - yes or no (1997)
LIstFiles - filnames are cart numbers. (2000)
Writefile doesn't work, which permissions to use? (2005)
Instructions for Digest (1997)
drop down selection list for a search (1998)