Welcome to Geeklog, Anonymous Thursday, July 10 2025 @ 09:35 am EDT
Geeklog Forums
Resizing Images in Articles
Status: offline
Forum User
Full Member
Registered: 09/29/02
Posts: 820
After several months of using Geeklog, I still haven't yet figured out how to get my images resized when uploading with a story. I use ImageMagick, which works with Gallery, and 4images perfectly.
My ImageMagick version is 5.5.5 upgraded from 5.5.2 which also didn't work.
If I resize it offline, it loads without problem, therefore it is not the directory permission problem.
I have read articles with similar problem, but there was no answer for them either.
Please help.
Sam
19
14
Quote
Status: offline
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
For starters it would help if you described what your actual problem is ... Did you set it up properly (in config.php)? Do you get any error messages?
bye, Dirk
23
25
Quote
Yes. It is set up properly in the config.
$_CONF['image_lib'] = '/usr/local/bin/'; // can be netpbm, imagemagick
$_CONF['path_to_mogrify'] = '/usr/local/bin/mogrify';
The error message is:
Image, 024_23.jpg had trouble being resized
Thanks,
Sam
22
17
Quote
image_lib should be the name 'imagemagick' or 'netpbm', not the path. I was confused by the decription above asking for the path and in the same time showing a path '/usr/local/bin' by default. So I ended up trying all kinds of paths with out success.
Now I can exhale!
Sam
17
23
Quote
Status: offline
Forum User
Junior
Registered: 01/23/03
Posts: 17
Have you tried running mogrify on the command line manually? (make a copy of the image file and run mogrify on the copy)
Text Formatted Code
$ cp 024_23.jpg copy_024_23.jpg
$ mogrify -geometry 200x200 copy_024_23.jpg
Toss the original file on a webserver somewhere and post the URL, maybe its corrupted somehow (or has tagged data fields that imagemagick can't deal with). I've come across images (especially 'supposed' JPG/JFIF files) that imagemagick would have no problem with on 9 out of 10 machines... or on versions 5.x.2, 5.x.4, but not 5.x.3
---
Lucas Thompson, sardu@mac,com
19
23
Quote
All times are EDT. The time is now 09:35 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content