Welcome to Geeklog, Anonymous Monday, April 29 2024 @ 10:51 am EDT

Geeklog Forums

Story Images too small


Status: offline

b.raven

Forum User
Newbie
Registered: 01/14/05
Posts: 14
Location:Los Angeles
These are my settings on config.php:

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

// User photo settings
$_CONF['max_photo_width']       = 128; // In pixels
$_CONF['max_photo_height']      = 128; // In pixels
$_CONF['max_photo_size']        = 65536; // 65536 = 64KB


But the story image settings are still limiting to 120px
Is that due to a setting in imagemagick?
If so, can I change that setting and how?
Thanks so much!
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Not sure what your problem is ...

Existing images will of course remain unchanged. You'll have to upload the original, unscaled images again if you want them to be scaled to your new size.

Also, since images are scaled to keep the aspect ratio, you may end up with images that are less than 160 pixels wide (but 120 pixels high) - depends on the images.

bye, Dirk
 Quote

ourangel

Anonymous
i am having the same problem. i had to reinstall geeklog. Before my pictures were 250px, not the maximum is 120px and that is too small. can someone help?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by ourangel: Before my pictures were 250px, not the maximum is 120px and that is too small. can someone help?

That's a setting in config.php:
Text Formatted Code
// Story image settings
$_CONF['max_image_width']       = 160;  // In pixels                          
$_CONF['max_image_height']      = 120;  // In pixels                          
$_CONF['max_image_size']        = 1048576; // 1048576 = 1MB
 

bye, Dirk
 Quote

Status: offline

ourangel

Forum User
Newbie
Registered: 06/19/05
Posts: 10
thanks for that!!!!!!!

ok, so i went in and changed the pixels and the size is perfect. for some reason at the top of my site there is this writing :

Warning: Cannot modify header information - headers already sent by (output started at /home/enroute/public_html/enroute/config.php:761) in /home/enroute/public_html/enroute/system/lib-sessions.php on line 188

Warning: Cannot modify header information - headers already sent by (output started at /home/enroute/public_html/enroute/config.php:761) in /home/enroute/public_html/enroute/system/lib-sessions.php on line 200

can someone tell me how to delete this? Also on my site, it shows everytime a person has viewed a particular story or feature, is there a way to hide this?
 Quote

Status: offline

ourangel

Forum User
Newbie
Registered: 06/19/05
Posts: 10
uggh

i also dont know what i did when i edited the pixels because now i am locked out for some reason i cant login now under admin or any other name.



sorry im such a dork!!! sombody help!!! lol Banging your head
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany

Status: offline

ourangel

Forum User
Newbie
Registered: 06/19/05
Posts: 10
im kinda new to this

how can i tell what line 188 is ? Can someone help me

 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by ourangel: how can i tell what line 188 is ?

Use a text editor that can display line numbers or has a "go to line ..." option.

See the recommendations linked from that FAQ article above.

bye, Dirk
 Quote

ourangel

Anonymous
thanks a bunch!

Big Celebration
 Quote

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