Status: offline

gandalph

Forum User
Newbie
Registered: 08/25/04
Posts: 3
I'm trying to upload an image that's 500px wide as part of a story, but the max is 300. How can i change the image size maximums?

Status: offline

comicbookguy

Forum User
Regular Poster
Registered: 05/15/04
Posts: 97
You will need to modify the Story image settings in your config.php. Here is the section you need to change.

Text Formatted Code
// Story image settings
$_CONF['max_image_width']       = 500;  // In pixels
$_CONF['max_image_height']      = 500;  // In pixels
$_CONF['max_image_size']        = 1048576; // 1048576 = 1MB

 

korneusz

Anonymous
Why I can add only 5 images to my article . How it change ??
And how make a url link to biger photo in article ?

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Quote by korneusz: Why I can add only 5 images to my article . How it change ??
And how make a url link to biger photo in article ?


it's all in the documentation ...

And in config.php:

Text Formatted Code
$_CONF['maximagesperarticle']   = 5;

// 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
 


bye, Dirk

korneusz

Anonymous
dex

VehicleWorlds ONLINE

Anonymous
determined
COOL!!!! I did a search on this before and couldn't find the answer... I come back a month or so later and BAM!!! here it is.


ckofer

Anonymous
Quote by comicbookguy: You will need to modify the Story image settings in your config.php. Here is the section you need to change.

Text Formatted Code
// Story image settings
$_CONF['max_image_width']       = 500;  // In pixels
$_CONF['max_image_height']      = 500;  // In pixels
$_CONF['max_image_size']        = 1048576; // 1048576 = 1MB


 


This really should be an admin level option without hacking the config file.

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Quote by ckofer: This really should be an admin level option without hacking the config file.

Do you really change it that often?

bye, Dirk