Welcome to Geeklog, Anonymous Friday, March 29 2024 @ 05:57 am EDT

Geeklog Forums

$_CONF['max_image_width']


Status: offline

Candi

Forum User
Junior
Registered: 04/13/03
Posts: 15
Hi, having a little trouble with the max image width in the config file.

I saw that someone already brought this issue up, but it doesn't answer my question.

Is there a *minimum* size for story image settings? Because I'm trying to set mine to 100 pixels instead of 300, and it's still resizing them to 299. ImageMagick is working, it's just not converting them according to my specifications.

 Quote

Status: offline

Candi

Forum User
Junior
Registered: 04/13/03
Posts: 15
I've since noticed that it seems to be ignoring a handful of items in my config. Another one is trying to add the img tag to allowable html. <p> Here's what I have:<p> <code>$_CONF['allowablehtml'] = '<p>,<b>,<i>,<a>,<em>,<br>,<tt>,<hr>,<li>,<ol>,<ul>,<code>,<pre>,<img>'; $_CONF['adminhtml'] = $_CONF['allowablehtml'] . ', <div>,<table>,<tr>,<td>,<th>,<img>';</code><p> I've been logged in as Admin and it's still stripping out the tags. Any ideas?
 Quote

Anonymous

Anonymous
Where is it stripping the tags? In the story editor?
 Quote

Anonymous

Anonymous
Yeah, whenever I post a story and try to call in an image with the img src tag, it won't keep the code, it strips it out when I save it. And even though I added <img> to the allowablehtml line, it's not showing up in the list in the story editor, either. I also can no longer change my default theme... I've set that in the config file and it's staying with the old one. And then there's the problem with uploading images to a story and having them resized to 299 pixels even though my config is set to 100. (I've tried several different widths- none of them work, it always resizes them to 299.) Tthere's a bunch of weird things going on at this point, all to do with the config file. I'm wondering if any of the mods or hacks that I've installed haven't messed something up? Because when I first installed it, I had no problems switching the theme (I even customized one). I didn't test the resize or the img src tags before adding mods, though, so I can't be sure. And besides, if something was wrong... you'd think nothing would work, you know? I can still post stories, upload photos, add users, etc...
 Quote

Status: offline

Candi

Forum User
Junior
Registered: 04/13/03
Posts: 15
Disregard! I made a dumb mistake and figured it out.
 Quote

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