[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:

Mac app. that converts e-mails (2000) Rhapsody? (1997) WebCat2 - [include] tags (1997) Pull down menu Search (1999) Db path (2004) Search/sort in URL Was: GuestBook example (1997) SiteEdit NewFile.html ? (1997) WebCatalog can't find database (1997) [WebDNA] WebDNA 6.1 Info (2008) WebCat & WebTen (1997) Exclamation (2002) Your personal 5.1 WebDNA Lab now available on the DRC (2003) Stopping bad HTML propagation ? (1997) [SearchString] problem with [search] context (1997) This might sound silly... (2000) RE: Error: template (1997) Deadlock (1999) WebCat2b13MacPlugIn - More limits on [include] (1997) Search syntax question (1998) list items (1998)