Welcome to Geeklog, Anonymous Thursday, December 26 2024 @ 01:14 pm EST
Geeklog Forums
image size question
sam
Anonymous
Am i correct in thinking that GL should resize story images to the sizes stated in config.php if I have image magic installed, if so it's not working for me.
Imagemagic works fine with gallery
I am using win2000 server with apache
config.php
// you will use. Setting this also assumes that if a photo is uploaded that is
// too big either by the image sizes below or by overriding them using the
// upload object then the library you choose will attempt to resize the image.
// Leaving this value empty disables this feature
$_CONF['imagemagick'] = 'imagemagick'; // can be one of 'netpbm', 'imagemagick', 'gdlib'
// If you set image_lib to imagemagick give this path otherwise comment it out
// NOTE: you will need a fairly recent version of ImageMagick for this to work.
// ImageMagick version 5.4.9 (or newer) is recommended.
$_CONF['path_to_mogrify'] = 'D:/ImageMagick-6.1.2-Q16/';
// When set to 1, Geeklog will keep the original, unscaled images and make
// the smaller image link to the unscaled image.
$_CONF['keep_unscaled_image'] = 0; // 1 = keep original images
// Story image settings
$_CONF['max_image_width'] = 640; // In pixels
$_CONF['max_image_height'] = 480; // In pixels
$_CONF['max_image_size'] = 7340032; // 1048576 = 1MB 7340032=7mb
Imagemagic works fine with gallery
I am using win2000 server with apache
config.php
Text Formatted Code
// If you set $_CONF['image_lib'] below, you must supply a path for the library// you will use. Setting this also assumes that if a photo is uploaded that is
// too big either by the image sizes below or by overriding them using the
// upload object then the library you choose will attempt to resize the image.
// Leaving this value empty disables this feature
$_CONF['imagemagick'] = 'imagemagick'; // can be one of 'netpbm', 'imagemagick', 'gdlib'
// If you set image_lib to imagemagick give this path otherwise comment it out
// NOTE: you will need a fairly recent version of ImageMagick for this to work.
// ImageMagick version 5.4.9 (or newer) is recommended.
$_CONF['path_to_mogrify'] = 'D:/ImageMagick-6.1.2-Q16/';
// When set to 1, Geeklog will keep the original, unscaled images and make
// the smaller image link to the unscaled image.
$_CONF['keep_unscaled_image'] = 0; // 1 = keep original images
// Story image settings
$_CONF['max_image_width'] = 640; // In pixels
$_CONF['max_image_height'] = 480; // In pixels
$_CONF['max_image_size'] = 7340032; // 1048576 = 1MB 7340032=7mb
5
3
Quote
Text Formatted Code
$_CONF['imagemagick'] = 'imagemagick'; // can be one of 'netpbm', 'imagemagick', 'gdlib'should be changed to
Text Formatted Code
$_CONF['image_lib'] = 'imagemagick'; // can be one of 'netpbm', 'imagemagick', 'gdlib'
2
4
Quote
sam
Anonymous
thanks for your help.
ok it seems to be resizing the dimensions but not the file size.
error is
File Upload Errors
File, aust_colour_water_1.jpg, is bigger than the 1048576 byte limit
I thought GL should resize to the 1048576 limit?
ok it seems to be resizing the dimensions but not the file size.
error is
File Upload Errors
File, aust_colour_water_1.jpg, is bigger than the 1048576 byte limit
I thought GL should resize to the 1048576 limit?
6
3
Quote
sam
Anonymous
Have already set php and apache to take larger files than the image that is giving me probs.
Also gallery is ok with this image file so looks like GL error.
Also gallery is ok with this image file so looks like GL error.
2
2
Quote
sam
Anonymous
also the file size in the error message is the size limit set in GL/config.php
3
3
Quote
sam
Anonymous
Don't want to beg, but this is the last problem I have and i am anxious to get my site online.
HELP please
HELP please
4
4
Quote
sam
Anonymous
Cheers Dirk
5
3
Quote
All times are EST. The time is now 01:14 pm.
- 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