Welcome to Geeklog, Anonymous Monday, October 14 2024 @ 08:48 pm 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:
$_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!
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!
11
15
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
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
14
11
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?
11
18
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
15
13
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?
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?
14
16
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
12
13
Quote
ourangel
Anonymous
thanks a bunch!
13
11
Quote
All times are EDT. The time is now 08:48 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