Page 1 of 1
Noow need help for his phpbb forum
Posted: 2012-04-26T10:09:59-07:00
by westernz
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
Re: Noow need help for his phpbb forum
Posted: 2012-04-26T10:37:20-07:00
by fmw42
Re: Noow need help for his phpbb forum
Posted: 2012-04-27T03:46:56-07:00
by westernz
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 ?
Code: Select all
convert image.png -resize 260x260\> result.png
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
Re: Noow need help for his phpbb forum
Posted: 2012-04-27T04:05:31-07:00
by anthony
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.
Re: Noow need help for his phpbb forum
Posted: 2012-04-27T04:36:56-07:00
by westernz
really not.
Does my questions are not enough clear ?
Re: Noow need help for his phpbb forum
Posted: 2012-04-27T04:39:31-07:00
by Bonzo
Code: Select all
convert image.png -resize 260x260> result.png
This will modify one image only: image.png and save as 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
Posted: 2012-04-27T05:18:53-07:00
by westernz
I understand the mistake i did.
I work on it.
Thank, and see you later (maybe)
Have a nice day