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

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 112691
interpreted = N
texte = 274 ------=_Part_362748_581887519.1459014279237 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Terry, I did download your module a few days ago dealing with something els= e.... The installation of ImageMagick on my win7 desktop was going haywire, downl= oaded and installed the latest.... all works well from the command line, bu= t I "still" can't get your module to work with it in my local IIS setup... = Probably a path issue, although all seems OK as I've been staring at the se= tup. The upload etc functions are all behaving....=C2=A0but I get this error at = the top of the page when I try to resize an image using your module:[shell]= /ImageMagick-6.9.3-Q8//convert uploads/1354764682549.jpg -scale '500x500>' = +profile "*" images/1354764682549.jpg[/shell] [shell]/ImageMagick-6.9.3-Q8/= /convert images/1354764682549.jpg -scale 100x100 -format jpg +profile "*" -= unsharp 0x.5 images/1354764682549_th.jpg[/shell] Haven't tried it over at the actual server, but I'm guessing it might behav= e the same way... I'll revisit that a bitb later today. Regarding my issue with those thousands of images and the w&h .... I downloaded ExifTool, and even though the docs are real messy I finally go= t it to read and write to an output file the filenames and the width and he= ight of images..... Works pretty darn quick too. ExifTool by Phil Harvey =20 | =20 | | =20 ExifTool by Phil Harvey A command-line application and Perl library for reading and writing EXIF, = GPS, IPTC, XMP, makernotes and other... | | | =20 =20 On Saturday, March 26, 2016 12:16 PM, Terry Wilson = wrote: =20 Rich - Go here: http://www.webdna.us/page.dna?numero=3D173 And download my ImageMagick module. It will do what you want. Thanks Chris for putting the credit field back on the page! Terry On Mar 26, 2016, at 6:28 AM, Rich Kwas wrote: 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 ma= ny 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 wid= th and height so that when a photo is chosen the w&h populate the gallery h= tml 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 [filein= fo] 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 w= ithout needing to view each one and then writing its fileinfo into a db. Thanks ---------------------------------------------------------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_362748_581887519.1459014279237 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Terry, I did download your module a few days a= go dealing with something else....

The installation of ImageMagick on my win7 desktop was going haywire, = downloaded and installed the latest.... all works well from the command lin= e, but I "still" can't get your module to work with it in my local IIS setu= p... Probably a path issue, although all seems OK as I've been staring at t= he setup.

The uplo= ad etc functions are all behaving.... 
but I get this error at the top of the page when I try to = resize an image using your module:
[shell]/ImageMagick-6.9.3-Q8//convert uploads/1354764682549.j= pg -scale '500x500>' +profile "*" images/1354764682549.jpg[/shell] [shel= l]/ImageMagick-6.9.3-Q8//convert images/1354764682549.jpg -scale 100x100 -f= ormat jpg +profile "*" -unsharp 0x.5 images/1354764682549_th.jpg[/shell]

Haven't tried it over at the actual server, but= I'm guessing it might behave the same way... I'll revisit that a bitb late= r today.

=
Rega= rding my issue with those thousands of images and the w&h ....

I downloaded ExifTool= , and even though the docs are real messy I finally got it to read and writ= e to an output file the filenames and the width and height of images..... W= orks pretty darn quick too.








On Saturday, M= arch 26, 2016 12:16 PM, Terry Wilson <terry@terryfic.com> wrote:
<= /font>


Rich - Go here:

And download my ImageMagick module. It will do w= hat you want.

Thanks Chris for putt= ing the credit field back on the page!

<= div>Terry

On Mar 26, 2016, at 6:28 AM, R= ich Kwas <richkwasniewski@yahoo.com> wrote:

=
I failed miserably trying to use [loop] for a different part of a pr= oject, 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 po= pulates 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 th= eir width and height so that when a photo is chosen the w&h populate th= e 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.

=
<= br clear=3D"none">
Is there a way to do this?

<= /div>
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 automat= ically without needing to view each one and then writing its fileinfo into = a db.

Thanks


--------------------------------------------------------- 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@webd= na.us Bug Reporting: support@web= dna.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_362748_581887519.1459014279237-- . 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)
274 ------=_Part_362748_581887519.1459014279237 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Terry, I did download your module a few days ago dealing with something els= e.... The installation of ImageMagick on my win7 desktop was going haywire, downl= oaded and installed the latest.... all works well from the command line, bu= t I "still" can't get your module to work with it in my local IIS setup... = Probably a path issue, although all seems OK as I've been staring at the se= tup. The upload etc functions are all behaving....=C2=A0but I get this error at = the top of the page when I try to resize an image using your module:[shell]= /ImageMagick-6.9.3-Q8//convert uploads/1354764682549.jpg -scale '500x500>' = +profile "*" images/1354764682549.jpg[/shell] [shell]/ImageMagick-6.9.3-Q8/= /convert images/1354764682549.jpg -scale 100x100 -format jpg +profile "*" -= unsharp 0x.5 images/1354764682549_th.jpg[/shell] Haven't tried it over at the actual server, but I'm guessing it might behav= e the same way... I'll revisit that a bitb later today. Regarding my issue with those thousands of images and the w&h .... I downloaded ExifTool, and even though the docs are real messy I finally go= t it to read and write to an output file the filenames and the width and he= ight of images..... Works pretty darn quick too. ExifTool by Phil Harvey =20 | =20 | | =20 ExifTool by Phil Harvey A command-line application and Perl library for reading and writing EXIF, = GPS, IPTC, XMP, makernotes and other... | | | =20 =20 On Saturday, March 26, 2016 12:16 PM, Terry Wilson = wrote: =20 Rich - Go here: http://www.webdna.us/page.dna?numero=3D173 And download my ImageMagick module. It will do what you want. Thanks Chris for putting the credit field back on the page! Terry On Mar 26, 2016, at 6:28 AM, Rich Kwas wrote: 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 ma= ny 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 wid= th and height so that when a photo is chosen the w&h populate the gallery h= tml 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 [filein= fo] 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 w= ithout needing to view each one and then writing its fileinfo into a db. Thanks ---------------------------------------------------------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_362748_581887519.1459014279237 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Terry, I did download your module a few days a= go dealing with something else....

The installation of ImageMagick on my win7 desktop was going haywire, = downloaded and installed the latest.... all works well from the command lin= e, but I "still" can't get your module to work with it in my local IIS setu= p... Probably a path issue, although all seems OK as I've been staring at t= he setup.

The uplo= ad etc functions are all behaving.... 
but I get this error at the top of the page when I try to = resize an image using your module:
[shell]/ImageMagick-6.9.3-Q8//convert uploads/1354764682549.j= pg -scale '500x500>' +profile "*" images/1354764682549.jpg[/shell] [shel= l]/ImageMagick-6.9.3-Q8//convert images/1354764682549.jpg -scale 100x100 -f= ormat jpg +profile "*" -unsharp 0x.5 images/1354764682549_th.jpg[/shell]

Haven't tried it over at the actual server, but= I'm guessing it might behave the same way... I'll revisit that a bitb late= r today.

=
Rega= rding my issue with those thousands of images and the w&h ....

I downloaded ExifTool= , and even though the docs are real messy I finally got it to read and writ= e to an output file the filenames and the width and height of images..... W= orks pretty darn quick too.








On Saturday, M= arch 26, 2016 12:16 PM, Terry Wilson <terry@terryfic.com> wrote:
<= /font>


Rich - Go here:

And download my ImageMagick module. It will do w= hat you want.

Thanks Chris for putt= ing the credit field back on the page!

<= div>Terry

On Mar 26, 2016, at 6:28 AM, R= ich Kwas <richkwasniewski@yahoo.com> wrote:

=
I failed miserably trying to use [loop] for a different part of a pr= oject, 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 po= pulates 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 th= eir width and height so that when a photo is chosen the w&h populate th= e 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.

=
<= br clear=3D"none">
Is there a way to do this?

<= /div>
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 automat= ically without needing to view each one and then writing its fileinfo into = a db.

Thanks


--------------------------------------------------------- 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@webd= na.us Bug Reporting: support@web= dna.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_362748_581887519.1459014279237-- . 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:

Using Plug-In while running 1.6.1 (1997) [WebDNA] How to code a 301 redirect (2008) mysql errors (2005) attn: smitmicro - cart limitation (2002) taxTotal, grandTotal (1997) WebMerchant 1.6 and SHTML (1997) Sorting Orders (1997) Making a secret cookie code in WebCat (2001) Multiple prices (1997) This message couldn't reach the list! (multi-column (1998) Multi Actions (1999) Checkboxes on forms?? (1998) autocommit problem (1998) WebCat2b12 - nesting [tags] (1997) b12 cannot limit records returned and more. (1997) URGENT! ACGI Stopped!!!! (1997) Shopping Cart Best Practices (2006) [WebDNA] sharing a couple of WebDNA sites (2010) Bug or syntax error on my part? (1997) Sort Order on a page search (1997)