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:

can WC render sites out? (1997) Where is f2? (1997) WebCatalog NT beta 18 now available (1997) [WebDNA] Should I be able to use [setmimeheader =?UTF-8?Q?name=3DContent-Type=20=3F?= (2018) Last Minute addition to WildWebCAT98... (1999) webmerchant/mac auth. rejects zipcode (1998) WebMerchant when CC network is down (1998) WebCatalog vs. Cold Fusion (1998) Separate SSL Server (1997) Fwd: Problems with Webcatalog Plug-in (1997) WebCat2 beta 11 - new prefs ... (1997) startat param not working (2008) Great product and great job ! (1997) email [title] (1997) WC2f3 (1997) UNSUBSCRIBE (2000) Out of the woodwork (2007) search form problem.. (1997) webcatalog [date] bug (1999) Emailed problem (2000)