Re: [WebDNA] Imagemagick

This WebDNA talk-list message is from

2018


It keeps the original formatting.
numero = 114422
interpreted = N
texte = 2041 --Apple-Mail=_4291B6E8-66B0-44B5-94B4-012810C16B5E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 You may be in a Sandbox. You will need the co-operation of the system admin to allow you shell = access. If that is the case you will need to write your [shell] a bit = differently such as this one that is a standard install in WebDNA. [SHELL scriptid=3D flipimage][/SHELL] The script is stored in the scripts db and you need to set the variable = above the script. flipimage:=20 "[PathToImageMagick]convert" "[REL_ROOT_DIR]photofile/Thumb/[currPhoto]" = -flip +profile "*" = "[REL_ROOT_DIR]photofile/Thumb/[currPhoto]"[unurl][line_ending][/unurl][!]= [/!]"[PathToImageMagick]convert" "[REL_ROOT_DIR]photofile/[currPhoto]" = -flip +profile "*" = "[REL_ROOT_DIR]photofile/[currPhoto]"[unurl][line_ending][/unurl][!] [/!]"[PathToImageMagick]convert" = "[REL_ROOT_DIR]photofile/original/[currPhoto]" -flip +profile "*" = "[REL_ROOT_DIR]photofile/original/[currPhoto]"[unurl][line_ending][/unurl]= So on your page you need [TEXT]PathToImageMagick=3D/path/to/image/magick[/TEXT] [TEXT]REL_ROOT_DIR=3D/files/are/here[/TEXT] [TEXT]currPhoto=3Dmy-image.jpg[/TEXT] [TEXT]line_ending=3D%0D%0A[/TEXT] [SHELL scriptid=3D flipimage][/SHELL] Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@plsoftware.com.au > On 7 Oct 2018, at 05:30, Stephen Braun wrote: >=20 > Thanks for your response. > I'm not getting any results. >=20 > [shell] goes right to command line, correct? > Then I need the path to imagemagick, right? I thought that I had = that, but maybe not. I'm using a shared server, so I can't get to any = root dir. >=20 > What does +profile do? =20 > What does the asterisk in quotes do? > I can't find these things in the online docs for Imagemagick. >=20 > Thanks again, > sfb >=20 >=20 >=20 >=20 >=20 > Stephen F Braun > sbraun1@twcny.rr.com >=20 > On Fri, Oct 5, 2018 at 10:16 AM, Palle Bo Nielsen = > wrote: > An example from my codebase=E2=80=A6 >=20 > [shell]/opt/local/bin/convert -size 50x50 = /Library/path_to_the_image_folder/[cart].[uploadPicExt] -resize 50x50 = +profile "*" /Library/path_to_another_image_folder/[cart].gif[/shell] >=20 > Transforms a given image file into 50px x 50px >=20 > /Palle >=20 >=20 >=20 >> On 5 Oct 2018, at 15.04, Stephen Braun > wrote: >>=20 >> Hi All, >>=20 >> Is anybody running ImageMagick? >> I have it installed, and i have the path, but I'm not sure of the = code to call it into use. >> I guess that I need a primer. >>=20 >> Thank for any assistance. >> sfb >>=20 >>=20 >>=20 >>=20 >>=20 >> Stephen F Braun >> sbraun1@twcny.rr.com >> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: = talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: = talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: = support@webdna.us --Apple-Mail=_4291B6E8-66B0-44B5-94B4-012810C16B5E Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 You = may be in a Sandbox.

You will need the co-operation of the system admin to allow = you shell access.

If that is the case you will need to write your [shell] a bit = differently such as this one that is a standard install in = WebDNA.

[SHELL scriptid=3D flipimage][/SHELL]

The script is stored in the scripts db and you need to set = the variable above the script.

flipimage: 
"[PathToImageMagick]convert" = "[REL_ROOT_DIR]photofile/Thumb/[currPhoto]" -flip +profile "*" = "[REL_ROOT_DIR]photofile/Thumb/[currPhoto]"[unurl][line_ending][/unurl][!]=
[/!]"[PathToImageMagick]convert" = "[REL_ROOT_DIR]photofile/[currPhoto]" -flip +profile "*" = "[REL_ROOT_DIR]photofile/[currPhoto]"[unurl][line_ending][/unurl][!]
=
[/!]"[PathToImageMagick]convert" = "[REL_ROOT_DIR]photofile/original/[currPhoto]" -flip +profile "*" = "[REL_ROOT_DIR]photofile/original/[currPhoto]"[unurl][line_ending][/unurl]=

So on = your page you need


[TEXT]PathToImageMagick=3D/path/to/image/magick[/TEXT]
[TEXT]REL_ROOT_DIR=3D/files/are/here[/TEXT]
[TEXT]currPhoto=3Dmy-image.jpg[/TEXT]
[TEXT]line_ending=3D%0D%0A[/TEXT]
[SHELL = scriptid=3D flipimage][/SHELL]


Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA







On 7 Oct 2018, at 05:30, Stephen Braun <sbraun1@twcny.rr.com> wrote:

Thanks for your response.
I'm not getting any = results.

[shell]= goes right to command line, correct?
Then I need = the path to imagemagick, right?   I thought that I had that, = but maybe not.  I'm using a shared server, so I can't get to any = root dir.

What = does +profile do?   
What does the = asterisk in quotes do?
I can't find these things in = the online docs for Imagemagick.

Thanks again,
sfb





Stephen F Braun
sbraun1@twcny.rr.com

On Fri, Oct 5, 2018 at 10:16 = AM, Palle Bo Nielsen <powerpalle@powerpalle.dk> wrote:
An example from my codebase=E2=80=A6

[shell]/opt/local/bin/convert -size 50x50 = /Library/path_to_the_image_folder/[cart].[uploadPicExt] = -resize 50x50 +profile "*" /Library/path_to_another_image_folder/[cart].gif[/shell]

Transforms a given image = file into 50px x 50px

/Palle



On 5 Oct 2018, at 15.04, Stephen Braun <sbraun1@twcny.rr.com> wrote:

Hi All,

Is = anybody running ImageMagick?
I have it installed, = and i have the path, but I'm not sure of the code to call it into = use.
I guess that I need a primer.

Thank for any = assistance.
sfb





Stephen F Braun
sbraun1@twcny.rr.com
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us

= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_4291B6E8-66B0-44B5-94B4-012810C16B5E-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Imagemagick ("Steve @ Tailored Web Solutions" 2018)
  2. Re: [WebDNA] Imagemagick (Stuart Tremain 2018)
  3. Re: [WebDNA] Imagemagick (Stephen Braun 2018)
  4. Re: [WebDNA] Imagemagick (Stuart Tremain 2018)
  5. Re: [WebDNA] Imagemagick (Terry Wilson 2018)
  6. Re: [WebDNA] Imagemagick (Stuart Tremain 2018)
  7. Re: [WebDNA] Imagemagick (Stephen Braun 2018)
  8. Re: [WebDNA] Imagemagick (Palle Bo Nielsen 2018)
  9. Re: [WebDNA] Imagemagick (Chris Van Dromme 2018)
  10. [WebDNA] Imagemagick (Stephen Braun 2018)
  11. Re: [WebDNA] ImageMagick (Office 2016)
  12. Re: [WebDNA] ImageMagick (WebDNA Development 2016)
  13. [WebDNA] ImageMagick (Office 2016)
  14. Re: [WebDNA] ImageMagick code (Stephen Braun 2013)
  15. Re: [WebDNA] ImageMagick code (Stuart Tremain 2013)
  16. Re: [WebDNA] ImageMagick code ("Terry Wilson" 2013)
  17. Re: [WebDNA] ImageMagick code ("Terry Wilson" 2013)
  18. Re: [WebDNA] ImageMagick code (John Butler 2013)
  19. Re: [WebDNA] ImageMagick code (John Butler 2013)
  20. Re: [WebDNA] ImageMagick code ("Terry Wilson" 2013)
  21. Re: [WebDNA] ImageMagick code (Stephen Braun 2013)
  22. Re: [WebDNA] ImageMagick code (John Butler 2013)
  23. [WebDNA] ImageMagick code (Stephen Braun 2013)
  24. Re: [WebDNA] ImageMagick troubleshooting (Patrick McCormick 2009)
  25. Re: [WebDNA] ImageMagick troubleshooting (Terry Wilson 2009)
  26. Re: [WebDNA] ImageMagick troubleshooting (Patrick McCormick 2009)
  27. Re: [WebDNA] ImageMagick troubleshooting (Patrick McCormick 2009)
  28. Re: [WebDNA] ImageMagick troubleshooting (Terry Wilson 2009)
  29. Re: [WebDNA] ImageMagick troubleshooting (Terry Wilson 2009)
  30. Re: [WebDNA] ImageMagick troubleshooting (Tom Duke 2009)
  31. [WebDNA] ImageMagick troubleshooting (Patrick McCormick 2009)
  32. [WebDNA] ImageMagick function library updated (Terry Wilson 2009)
  33. Re: [WebDNA] ImageMagick function library now available (Terry Wilson 2009)
  34. Re: [WebDNA] ImageMagick function library now available (christophe.billiottet@webdna.us 2009)
  35. [WebDNA] ImageMagick function library now available (Terry Wilson 2009)
  36. Re: [WebDNA] ImageMagick (Donovan Brooke 2009)
  37. Re: [WebDNA] ImageMagick (lawrence@authorsimage.com 2009)
  38. Re: [WebDNA] ImageMagick (Tom Duke 2009)
  39. RE: [WebDNA] ImageMagick ("Michael A. DeLorenzo" 2009)
  40. Re: [WebDNA] ImageMagick (Tom Duke 2009)
  41. [WebDNA] ImageMagick (christophe.billiottet@webdna.us 2009)
2041 --Apple-Mail=_4291B6E8-66B0-44B5-94B4-012810C16B5E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 You may be in a Sandbox. You will need the co-operation of the system admin to allow you shell = access. If that is the case you will need to write your [shell] a bit = differently such as this one that is a standard install in WebDNA. [SHELL scriptid=3D flipimage][/SHELL] The script is stored in the scripts db and you need to set the variable = above the script. flipimage:=20 "[PathToImageMagick]convert" "[REL_ROOT_DIR]photofile/Thumb/[currPhoto]" = -flip +profile "*" = "[REL_ROOT_DIR]photofile/Thumb/[currPhoto]"[unurl][line_ending][/unurl][!]= [/!]"[PathToImageMagick]convert" "[REL_ROOT_DIR]photofile/[currPhoto]" = -flip +profile "*" = "[REL_ROOT_DIR]photofile/[currPhoto]"[unurl][line_ending][/unurl][!] [/!]"[PathToImageMagick]convert" = "[REL_ROOT_DIR]photofile/original/[currPhoto]" -flip +profile "*" = "[REL_ROOT_DIR]photofile/original/[currPhoto]"[unurl][line_ending][/unurl]= So on your page you need [text]PathToImageMagick=3D/path/to/image/magick[/TEXT] [text]REL_ROOT_DIR=3D/files/are/here[/TEXT] [text]currPhoto=3Dmy-image.jpg[/TEXT] [text]line_ending=3D%0D%0A[/TEXT] [SHELL scriptid=3D flipimage][/SHELL] Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@plsoftware.com.au > On 7 Oct 2018, at 05:30, Stephen Braun wrote: >=20 > Thanks for your response. > I'm not getting any results. >=20 > [shell] goes right to command line, correct? > Then I need the path to imagemagick, right? I thought that I had = that, but maybe not. I'm using a shared server, so I can't get to any = root dir. >=20 > What does +profile do? =20 > What does the asterisk in quotes do? > I can't find these things in the online docs for Imagemagick. >=20 > Thanks again, > sfb >=20 >=20 >=20 >=20 >=20 > Stephen F Braun > sbraun1@twcny.rr.com >=20 > On Fri, Oct 5, 2018 at 10:16 AM, Palle Bo Nielsen = > wrote: > An example from my codebase=E2=80=A6 >=20 > [shell]/opt/local/bin/convert -size 50x50 = /Library/path_to_the_image_folder/[cart].[uploadPicExt] -resize 50x50 = +profile "*" /Library/path_to_another_image_folder/[cart].gif[/shell] >=20 > Transforms a given image file into 50px x 50px >=20 > /Palle >=20 >=20 >=20 >> On 5 Oct 2018, at 15.04, Stephen Braun > wrote: >>=20 >> Hi All, >>=20 >> Is anybody running ImageMagick? >> I have it installed, and i have the path, but I'm not sure of the = code to call it into use. >> I guess that I need a primer. >>=20 >> Thank for any assistance. >> sfb >>=20 >>=20 >>=20 >>=20 >>=20 >> Stephen F Braun >> sbraun1@twcny.rr.com >> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: = talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: = talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: = support@webdna.us --Apple-Mail=_4291B6E8-66B0-44B5-94B4-012810C16B5E Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 You = may be in a Sandbox.

You will need the co-operation of the system admin to allow = you shell access.

If that is the case you will need to write your [shell] a bit = differently such as this one that is a standard install in = WebDNA.

[SHELL scriptid=3D flipimage][/SHELL]

The script is stored in the scripts db and you need to set = the variable above the script.

flipimage: 
"[PathToImageMagick]convert" = "[REL_ROOT_DIR]photofile/Thumb/[currPhoto]" -flip +profile "*" = "[REL_ROOT_DIR]photofile/Thumb/[currPhoto]"[unurl][line_ending][/unurl][!]=
[/!]"[PathToImageMagick]convert" = "[REL_ROOT_DIR]photofile/[currPhoto]" -flip +profile "*" = "[REL_ROOT_DIR]photofile/[currPhoto]"[unurl][line_ending][/unurl][!]
=
[/!]"[PathToImageMagick]convert" = "[REL_ROOT_DIR]photofile/original/[currPhoto]" -flip +profile "*" = "[REL_ROOT_DIR]photofile/original/[currPhoto]"[unurl][line_ending][/unurl]=

So on = your page you need


[text]PathToImageMagick=3D/path/to/image/magick[/TEXT]
[text]REL_ROOT_DIR=3D/files/are/here[/TEXT]
[text]currPhoto=3Dmy-image.jpg[/TEXT]
[text]line_ending=3D%0D%0A[/TEXT]
[SHELL = scriptid=3D flipimage][/SHELL]


Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA







On 7 Oct 2018, at 05:30, Stephen Braun <sbraun1@twcny.rr.com> wrote:

Thanks for your response.
I'm not getting any = results.

[shell]= goes right to command line, correct?
Then I need = the path to imagemagick, right?   I thought that I had that, = but maybe not.  I'm using a shared server, so I can't get to any = root dir.

What = does +profile do?   
What does the = asterisk in quotes do?
I can't find these things in = the online docs for Imagemagick.

Thanks again,
sfb





Stephen F Braun
sbraun1@twcny.rr.com

On Fri, Oct 5, 2018 at 10:16 = AM, Palle Bo Nielsen <powerpalle@powerpalle.dk> wrote:
An example from my codebase=E2=80=A6

[shell]/opt/local/bin/convert -size 50x50 = /Library/path_to_the_image_folder/[cart].[uploadPicExt] = -resize 50x50 +profile "*" /Library/path_to_another_image_folder/[cart].gif[/shell]

Transforms a given image = file into 50px x 50px

/Palle



On 5 Oct 2018, at 15.04, Stephen Braun <sbraun1@twcny.rr.com> wrote:

Hi All,

Is = anybody running ImageMagick?
I have it installed, = and i have the path, but I'm not sure of the code to call it into = use.
I guess that I need a primer.

Thank for any = assistance.
sfb





Stephen F Braun
sbraun1@twcny.rr.com
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us

= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_4291B6E8-66B0-44B5-94B4-012810C16B5E-- . Stuart Tremain

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:

Error Lob.db records error message not name (1997) [WebDNA] Server speed (2009) Emailer and encryption (1997) WebTen and WebCat (1997) Displaying photo attached to first record (1997) I'm new (2001) PIXO support (1997) Emailer problems (1998) WebCat2: Formulas.db question (1997) Force a search at the default.tmpl page? (1997) self maintaining databases? (1998) Webcat vs Tango (2000) [searchString] (1997) numeric sorting (2000) Showif with multiple options (2002) OT: Help Wanted/Stowe, Vermont (1999) [TaxableTotal] - not working with AOL and IE (1997) Bug in WebCat, (2000) Draft Manual, Tutorial, and more (1997) E-mailer error codes (1997)