Noow need help for his phpbb forum

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
westernz
Posts: 4
Joined: 2012-04-26T10:01:34-07:00
Authentication code: 13

Noow need help for his phpbb forum

Post 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
User avatar
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

Post by fmw42 »

see http://www.imagemagick.org/script/comma ... p#geometry

convert image.png -resize 260x260\> result.png
westernz
Posts: 4
Joined: 2012-04-26T10:01:34-07:00
Authentication code: 13

Re: Noow need help for his phpbb forum

Post 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
User avatar
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

Post 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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
westernz
Posts: 4
Joined: 2012-04-26T10:01:34-07:00
Authentication code: 13

Re: Noow need help for his phpbb forum

Post by westernz »

really not.
Does my questions are not enough clear ?
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: Noow need help for his phpbb forum

Post 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.
westernz
Posts: 4
Joined: 2012-04-26T10:01:34-07:00
Authentication code: 13

Re: Noow need help for his phpbb forum

Post by westernz »

I understand the mistake i did.
I work on it.
Thank, and see you later (maybe)

Have a nice day
Post Reply