On 30 Mar 2016, at 08:39, Rich Kwas <richkwasniewski@yahoo.com> wrote:---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listI =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 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/[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 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 they've been saying =that for some time now LOLDoes 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.To unsubscribe, E-mail to: =div>archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
|
On 30 Mar 2016, at 08:39, Rich Kwas <richkwasniewski@yahoo.com> wrote:---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listI =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 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/[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 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 they've been saying =that for some time now LOLDoes 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.To unsubscribe, E-mail to: =div>archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
DOWNLOAD WEBDNA NOW!
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...