[pmwiki-users] Shrinking uploaded images...

H. Fox haganfox at users.sourceforge.net
Sun Jul 29 02:35:16 CDT 2007


On 7/28/07, Mike Shanley <thebarmy at omniversalism.com> wrote:
>
> Ben Wilson wrote:
> > Does this get you started? I think the last one is more likely what
> > you're wanting. Just wrap it in a recipe.
> >
> > * http://www.sitepoint.com/article/image-resizing-php
> > * http://www.websitepublisher.net/article/php-image-resize/
> > * http://www.blazonry.com/scripting/upload-size.php
> >
> You've been doubly helpful today! Thanks!
>
> The last one is what I'm looking for... almost. That script only resizes
> jpg, which is a problem in itself, but the script is also throwing weird
> errors before the page even loads. I'm going to look around for
> something, but if someone here knows of another possibility, please let
> me know.

Qdig may do what you want.

Just upload images retrieve the gallery pages to convert images.
Converted versions will be written in the qdig-files/converted-images/
directory with a filename prefix.  Qdig will use Image Magick (with
some optimized parameters[1]) or GD on a wide variety of platforms.

   http://qdig.sourceforge.net/

This setting will speed up the process of getting all the images converted.

   $cnvrt_alt['indiv']   = FALSE;

I suggest using the qdig-devel version.

Qdig can also be used in your PmWiki uploads directory if you want to
see what images have been uploaded to your wiki.

   http://www.pmwiki.org/wiki/Cookbook/AuditImages

Hagan

[1] http://qdig.sourceforge.net/Main/ImageMagickVersusGD



More information about the pmwiki-users mailing list