Re: [WebDNA] fileinfo question

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 112702
interpreted = N
texte = 285 ------=_Part_2592066_318791997.1459290817778 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable That's what I was thinking.Wanted someone else to agree with me as wellThan= ks=20 On Tuesday, March 29, 2016 5:19 PM, Stuart Tremain = wrote: =20 Rich If you do it =E2=80=9Con the fly=E2=80=9D than you are having to interrogat= e each image when it is called which may put a load on your server, if you = have the info in a db along with the name then the added overhead of gettin= g the dimensions from the db is negligible. Kind regards Stuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.au On 30 Mar 2016, at 08:39, Rich Kwas wrote: I never knew [fileinfo] pulls data from a photo without needing to view it = first.So then.... I have hundreds of pages where there are sliding photo galleries on each pa= ge. Would it be better to snag fileinfo from different images used in these gal= leries.....up to 6 images per gallery(just an example, not actual code used= on the page) [FileInfo file=3D../photos/[photo1name].jpg] W=3D[ImageWidth][/FileInfo] [FileInfo file=3D../photos/[photo1name].jpg] H=3D[ImageHeight][/FileInfo] [FileInfo file=3D../photos/[photo2name].jpg] W=3D[ImageWidth][/FileInfo] [FileInfo file=3D../photos/[photo2name].jpg] H=3D[ImageHeight][/FileInfo] [FileInfo file=3D../photos/[photo3name].jpg] W=3D[ImageWidth][/FileInfo] [FileInfo file=3D../photos/[photo3name].jpg] H=3D[ImageHeight][/FileInfo] [FileInfo file=3D../photos/[photo4name].jpg] W=3D[ImageWidth][/FileInfo] [FileInfo file=3D../photos/[photo4name].jpg] H=3D[ImageHeight][/FileInfo] [FileInfo file=3D../photos/[photo5name].jpg] W=3D[ImageWidth][/FileInfo] [FileInfo file=3D../photos/[phot5name].jpg] H=3D[ImageHeight][/FileInfo] [FileInfo file=3D../photos/[photo6name].jpg] W=3D[ImageWidth][/FileInfo] [FileInfo file=3D../photos/[photo6name].jpg] H=3D[ImageHeight][/FileInfo] Or would I be better off snagging the w&h from a database holding photo fil= enames and dimensions..... There currently are over 30K images in this "photos" folder, although the c= lient is telling me they are deleting the older images, but they've been sa= ying that for some time now LOL Does yanking the w&h via [fileinfo] utilize more of the server/ram etc than= just getting it from a database?Or nothing much to worry about either way? Currently using webdna 6.2 on windows server 2008 ---------------------------------------------------------This message is se= nt to you because you are subscribed tothe mailing list .To unsubscribe, E-= mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: = support@webdna.us ---------------------------------------------------------This message is se= nt to you because you are subscribed tothe mailing list .To unsubscribe, E-= mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: = support@webdna.us ------=_Part_2592066_318791997.1459290817778 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
That's what I was thinki= ng.
Wanted someone else to agree with= me as well
Thanks


On Tuesday, March 29, 2016 5:19 P= M, Stuart Tremain <webdna@idfk.com.au> wrote:

<= br>
Rich

If you do it =E2=80=9Con the fly=E2=80=9D than y= ou are having to interrogate each image when it is called which may put a l= oad on your server, if you have the info in a db along with the name then t= he added overhead of getting the dimensions from the db is negligible.


Kind regards

Stu= art Tremain
IDFK Web Developments
AUSTRALIA



=

On 30 Mar 2016, at 08:39, R= ich Kwas <richkwasniewski@yahoo.com> wrote:
I never knew [fileinfo] pulls data from a phot= o without needing to view it first.
So then..= ...

<= /div>
I have hundreds of pages where there are slidin= g photo galleries on each page.

Would it be better= to snag fileinfo from different images used in these galleries
.....up to 6 images per gallery
(just an example, not actual code used on the page)

[FileInfo file=3D../photos/= [photo1name].jpg] W=3D[ImageWidth][/FileInfo]
[FileInfo file=3D../photos/[photo= 1name].jpg] H=3D[ImageHeight][/FileInfo]

[FileInfo file=3D../photos/[photo2name].j= pg] W=3D[ImageWidth][/FileInfo]
[FileInfo file=3D../photos/[photo2name].jpg] H=3D[ImageHeight][/F= ileInfo]

[FileInfo file=3D../photos/[photo3name].j= pg] W=3D[ImageWidth][/FileInfo]
[FileInfo file=3D../photos/[photo3name].jpg] H=3D[ImageHeight][/F= ileInfo]

[FileInfo file=3D../photos/[photo4name].j= pg] W=3D[ImageWidth][/FileInfo]
[FileInfo file=3D../photos/[photo4name].jpg] H=3D[ImageHeight][/F= ileInfo]

[FileInfo file=3D../photos/[photo5name].j= pg] W=3D[ImageWidth][/FileInfo]
[FileInfo file=3D../photos/[phot5name].jpg] H=3D[ImageHeight][/Fi= leInfo]

[FileInfo file=3D../photos/[photo6name].jp= g] W=3D[ImageWidth][/FileInfo]
[FileInfo file=3D../photos/[photo6name].jpg] H=3D[ImageHeight][/Fi= leInfo]

Or would I be better off snagging the w&am= p;h from a database holding photo filenames and dimensions.....

There currently are over 30K images in this "photos" folder, = although the client is telling me they are deleting the older images, but t= hey've been saying that for some time now LOL
<= br clear=3D"none" class=3D"yiv2731644703">
Does= yanking the w&h via [fileinfo] utilize more of the server/ram etc than= just getting it from a database?
Or nothing mu= ch to worry about either way?

=
Currently using webdna 6.2 on windows server 2008

=


=
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to:=20 archives: http://mail.= webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to:=20 archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us


=
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us ------=_Part_2592066_318791997.1459290817778-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] fileinfo question (Rich Kwas 2016)
  2. Re: [WebDNA] fileinfo question (Stuart Tremain 2016)
  3. [WebDNA] fileinfo question (Rich Kwas 2016)
285 ------=_Part_2592066_318791997.1459290817778 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable That's what I was thinking.Wanted someone else to agree with me as wellThan= ks=20 On Tuesday, March 29, 2016 5:19 PM, Stuart Tremain = wrote: =20 Rich If you do it =E2=80=9Con the fly=E2=80=9D than you are having to interrogat= e each image when it is called which may put a load on your server, if you = have the info in a db along with the name then the added overhead of gettin= g the dimensions from the db is negligible. Kind regards Stuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.au On 30 Mar 2016, at 08:39, Rich Kwas wrote: I never knew [fileinfo] pulls data from a photo without needing to view it = first.So then.... I have hundreds of pages where there are sliding photo galleries on each pa= ge. Would it be better to snag fileinfo from different images used in these gal= leries.....up to 6 images per gallery(just an example, not actual code used= on the page) [FileInfo file=3D../photos/[photo1name].jpg] W=3D[ImageWidth][/FileInfo] [FileInfo file=3D../photos/[photo1name].jpg] H=3D[ImageHeight][/FileInfo] [FileInfo file=3D../photos/[photo2name].jpg] W=3D[ImageWidth][/FileInfo] [FileInfo file=3D../photos/[photo2name].jpg] H=3D[ImageHeight][/FileInfo] [FileInfo file=3D../photos/[photo3name].jpg] W=3D[ImageWidth][/FileInfo] [FileInfo file=3D../photos/[photo3name].jpg] H=3D[ImageHeight][/FileInfo] [FileInfo file=3D../photos/[photo4name].jpg] W=3D[ImageWidth][/FileInfo] [FileInfo file=3D../photos/[photo4name].jpg] H=3D[ImageHeight][/FileInfo] [FileInfo file=3D../photos/[photo5name].jpg] W=3D[ImageWidth][/FileInfo] [FileInfo file=3D../photos/[phot5name].jpg] H=3D[ImageHeight][/FileInfo] [FileInfo file=3D../photos/[photo6name].jpg] W=3D[ImageWidth][/FileInfo] [FileInfo file=3D../photos/[photo6name].jpg] H=3D[ImageHeight][/FileInfo] Or would I be better off snagging the w&h from a database holding photo fil= enames and dimensions..... There currently are over 30K images in this "photos" folder, although the c= lient is telling me they are deleting the older images, but they've been sa= ying that for some time now LOL Does yanking the w&h via [fileinfo] utilize more of the server/ram etc than= just getting it from a database?Or nothing much to worry about either way? Currently using webdna 6.2 on windows server 2008 ---------------------------------------------------------This message is se= nt to you because you are subscribed tothe mailing list .To unsubscribe, E-= mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: = support@webdna.us ---------------------------------------------------------This message is se= nt to you because you are subscribed tothe mailing list .To unsubscribe, E-= mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: = support@webdna.us ------=_Part_2592066_318791997.1459290817778 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
That's what I was thinki= ng.
Wanted someone else to agree with= me as well
Thanks


On Tuesday, March 29, 2016 5:19 P= M, Stuart Tremain <webdna@idfk.com.au> wrote:

<= br>
Rich

If you do it =E2=80=9Con the fly=E2=80=9D than y= ou are having to interrogate each image when it is called which may put a l= oad on your server, if you have the info in a db along with the name then t= he added overhead of getting the dimensions from the db is negligible.


Kind regards

Stu= art Tremain
IDFK Web Developments
AUSTRALIA



=

On 30 Mar 2016, at 08:39, R= ich Kwas <richkwasniewski@yahoo.com> wrote:
I never knew [fileinfo] pulls data from a phot= o without needing to view it first.
So then..= ...

<= /div>
I have hundreds of pages where there are slidin= g photo galleries on each page.

Would it be better= to snag fileinfo from different images used in these galleries
.....up to 6 images per gallery
(just an example, not actual code used on the page)

[FileInfo file=3D../photos/= [photo1name].jpg] W=3D[ImageWidth][/FileInfo]
[FileInfo file=3D../photos/[photo= 1name].jpg] H=3D[ImageHeight][/FileInfo]

[FileInfo file=3D../photos/[photo2name].j= pg] W=3D[ImageWidth][/FileInfo]
[FileInfo file=3D../photos/[photo2name].jpg] H=3D[ImageHeight][/F= ileInfo]

[FileInfo file=3D../photos/[photo3name].j= pg] W=3D[ImageWidth][/FileInfo]
[FileInfo file=3D../photos/[photo3name].jpg] H=3D[ImageHeight][/F= ileInfo]

[FileInfo file=3D../photos/[photo4name].j= pg] W=3D[ImageWidth][/FileInfo]
[FileInfo file=3D../photos/[photo4name].jpg] H=3D[ImageHeight][/F= ileInfo]

[FileInfo file=3D../photos/[photo5name].j= pg] W=3D[ImageWidth][/FileInfo]
[FileInfo file=3D../photos/[phot5name].jpg] H=3D[ImageHeight][/Fi= leInfo]

[FileInfo file=3D../photos/[photo6name].jp= g] W=3D[ImageWidth][/FileInfo]
[FileInfo file=3D../photos/[photo6name].jpg] H=3D[ImageHeight][/Fi= leInfo]

Or would I be better off snagging the w&am= p;h from a database holding photo filenames and dimensions.....

There currently are over 30K images in this "photos" folder, = although the client is telling me they are deleting the older images, but t= hey've been saying that for some time now LOL
<= br clear=3D"none" class=3D"yiv2731644703">
Does= yanking the w&h via [fileinfo] utilize more of the server/ram etc than= just getting it from a database?
Or nothing mu= ch to worry about either way?

=
Currently using webdna 6.2 on windows server 2008

=


=
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to:=20 archives: http://mail.= webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to:=20 archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us


=
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us ------=_Part_2592066_318791997.1459290817778-- . Rich Kwas

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:

Windows 2.1b2 Append Bug? (1997) [BULK] [WebDNA] Security Images (Captcha) (2008) WebCommerce: Folder organization ? (1997) read and write you own cookies with webcat (1997) PCS Frames (1997) Running a store on BOTH http and https (1998) How To question on setting up downloads (1997) Displaying raw values (long) (1998) [defined]ish (1997) Job Posting (1998) RE: Error: template (1997) Uh...can someone help me out with the b10? (1997) Emailed problem (2000) WebCat B13 Mac CGI -- Frames question (1997) WebCatalog stalls (1998) New command suggestion (1997) Encyption mail was Suggestions for Topics ... (1998) [TCPSend] and whois? (1999) [WebDNA] webDNA and JSON (2011) replacing items in a db (2000)