imagemagick
Moderator: General Moderators
imagemagick
anyone know of a premade script using php/imagemagick for making thumbnails?
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
Code: Select all
<?php
exec("/usr/local/bin/mogrify +profile \"*\" -resize 320x240! /home/path/to/source /home/path/to/thumb");
?>Make sure that mogrify is in path. Don't remember what the command is to find a path to the program on unix.
that particular command is not working for me
Code: Select all
<?php
exec("/usr/local/bin/mogrify +profile \"*\" -resize 320x240! /home/scott/public_html/images/logo.gif /home/scott/public_html/th_test.gif");
?>Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
actually it did work. it just didn't go to the specified location, it instead overwrote the original image
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.