Welcome to Geeklog, Anonymous Wednesday, October 09 2024 @ 11:53 am EDT

Geeklog Forums

Image size restrictions


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?
 Quote

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

 
 Quote

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 ?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
 Quote

korneusz

Anonymous
dex
 Quote

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.

Chest-Slam Celebration
 Quote

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.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
 Quote

All times are EDT. The time is now 11:53 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