Hi,
I want to activate imagmagick on mon phpbb 3.0.6 forum.
Imagemagick is an already installed plugin in this release.
But i want to add .png managment files.
And if possible manage size like that (for all files managed) :
The highest size must be rescaled in 266px if highest than 266px.
The lower size must follow the original scale.
I want i automated, i can acces to my root login in my server.
Please help.
Have a nice day
Noow need help for his phpbb forum
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Noow need help for his phpbb forum
see http://www.imagemagick.org/script/comma ... p#geometry
convert image.png -resize 260x260\> result.png
convert image.png -resize 260x260\> result.png
Re: Noow need help for his phpbb forum
Thanks for this help.
But please understand i'm french and have no knowlegs about server manipulations.
And remember i'm french, read a long technical english text, that really hard for me.
So i have questions :
1/
Dos the command will be automatically launch on each reboot after this command line executed ?
2/
No need to add the command line into a file ?
3/
If I do somethink wrong how reset or delete the commande line ?
4/
Does you exemple is directly valid, ready to use like it is ?
That will mean that will take effect for all png files ?
No need to replace 'image' and 'result' by somethink other ?
Have a nice day
And thanks for help
But please understand i'm french and have no knowlegs about server manipulations.
And remember i'm french, read a long technical english text, that really hard for me.
So i have questions :
1/
Dos the command will be automatically launch on each reboot after this command line executed ?
2/
No need to add the command line into a file ?
3/
If I do somethink wrong how reset or delete the commande line ?
4/
Does you exemple is directly valid, ready to use like it is ?
Code: Select all
convert image.png -resize 260x260\> result.png
No need to replace 'image' and 'result' by somethink other ?
Have a nice day
And thanks for help
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Noow need help for his phpbb forum
The input and output image can be the same filename.
But I am not certain I am answering the quesion you are trying to ask.
But I am not certain I am answering the quesion you are trying to ask.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: Noow need help for his phpbb forum
really not.
Does my questions are not enough clear ?
Does my questions are not enough clear ?
Re: Noow need help for his phpbb forum
Code: Select all
convert image.png -resize 260x260> result.png
Do you want to resize all the png images now on your server or modify them on upload. There are a couple of ways to do that.
You can run the code from php in one line; add the code to an upload file with php, run from a cron job at certain times.
You can use scripts that can for example be called by php or run from the server command line or one line from the command line like the first example.
I understsand that things do not always translate well between launguages but we are a bit unsure what you want to do.
Re: Noow need help for his phpbb forum
I understand the mistake i did.
I work on it.
Thank, and see you later (maybe)
Have a nice day
I work on it.
Thank, and see you later (maybe)
Have a nice day