[WebDNA] fileinfo - need photo w & h written to a database

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 112689
interpreted = N
texte = 272 ------=_Part_206062_1150681706.1458998939040 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit I failed miserably trying to use [loop] for a different part of a project, so I thought I'd ask first about this part of it. There are a few thousand photos used in a site, and the client populates many sliding galleries within this site (photos change frequently). Currently the width and height are manually entered. I'd like to write all the existing photo filenames into a db with their width and height so that when a photo is chosen the w&h populate the gallery html without needing to be manually entered..... Currently using [listfiles] to show an alphabetical list of all the photos, linking individual photos to a page where that photo is shown with [fileinfo] showing its width and height. Is there a way to do this? Since the w&h are determined when the image is viewed in a browser window, it doesn't seem like there would be a way to do all of them automatically without needing to view each one and then writing its fileinfo into a db. Thanks ------=_Part_206062_1150681706.1458998939040 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I failed miserably trying to use [loop] for a different part o= f a project, so I thought I'd ask first about this part of it.

There are a few thousand = photos used in a site, and the client populates many sliding galleries with= in this site (photos change frequently). Currently the width and height are= manually entered.

I'd like to write all the existing photo filenames into a db with the= ir width and height so that when a photo is chosen the w&h populate the= gallery html without needing to be manually entered.....

Currently using [listfiles] to= show an alphabetical list of all the photos, linking individual photos to = a page where that photo is shown with [fileinfo] showing its width and heig= ht.

<= /div>

Is there a wa= y to do this?

Since the w&h are determined when the image is viewed in a browser win= dow, it doesn't seem like there would be a way to do all of them automatica= lly without needing to view each one and then writing its fileinfo into a d= b.

Thanks


= --------------------------------------------------------- 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_206062_1150681706.1458998939040-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] fileinfo - need photo w & h written to a database (Rich Kwas 2016)
  2. Re: [WebDNA] fileinfo - need photo w & h written to a database (Noah Valley 2016)
  3. Re: [WebDNA] fileinfo - need photo w & h written to a database (Terry Wilson 2016)
  4. Re: [WebDNA] fileinfo - need photo w & h written to a database (Rich Kwas 2016)
  5. Re: [WebDNA] fileinfo - need photo w & h written to a database (Terry Wilson 2016)
  6. [WebDNA] fileinfo - need photo w & h written to a database (Rich Kwas 2016)
272 ------=_Part_206062_1150681706.1458998939040 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit I failed miserably trying to use [loop] for a different part of a project, so I thought I'd ask first about this part of it. There are a few thousand photos used in a site, and the client populates many sliding galleries within this site (photos change frequently). Currently the width and height are manually entered. I'd like to write all the existing photo filenames into a db with their width and height so that when a photo is chosen the w&h populate the gallery html without needing to be manually entered..... Currently using [listfiles] to show an alphabetical list of all the photos, linking individual photos to a page where that photo is shown with [fileinfo] showing its width and height. Is there a way to do this? Since the w&h are determined when the image is viewed in a browser window, it doesn't seem like there would be a way to do all of them automatically without needing to view each one and then writing its fileinfo into a db. Thanks ------=_Part_206062_1150681706.1458998939040 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I failed miserably trying to use [loop] for a different part o= f a project, so I thought I'd ask first about this part of it.

There are a few thousand = photos used in a site, and the client populates many sliding galleries with= in this site (photos change frequently). Currently the width and height are= manually entered.

I'd like to write all the existing photo filenames into a db with the= ir width and height so that when a photo is chosen the w&h populate the= gallery html without needing to be manually entered.....

Currently using [listfiles] to= show an alphabetical list of all the photos, linking individual photos to = a page where that photo is shown with [fileinfo] showing its width and heig= ht.

<= /div>

Is there a wa= y to do this?

Since the w&h are determined when the image is viewed in a browser win= dow, it doesn't seem like there would be a way to do all of them automatica= lly without needing to view each one and then writing its fileinfo into a d= b.

Thanks


= --------------------------------------------------------- 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_206062_1150681706.1458998939040-- . 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:

question: webmerchant connection (1997) [WebDNA] Some Monday night fun (2009) Can I determine where they are coming from? (2000) Cron job for permissions (2000) Meet your competition (2000) [OT] See Flash? (2003) WebCatalog on G3 Macs? (1997) difference between v.6 and v.7, WAS: [WebDNA] v7 thisurl has different behavour (2012) Webcatalog Future?!? (2000) Sort Order on a page search (1997) Ghostly cached webpage (2000) RSS Feeds; basic info (2005) Store Builder Weirdness (1999) RAM variables (1997) So Simple (2005) WebCat2b13 Command Reference Doc error (1997) Comparing two fields so the match (1998) WC2b15 - [HTMLx]...[/HTMLx] problems SOLVED! (1997) WebCat and Personal Web Server (1998) ListFiles then delete by ModDate (2002)