Posted on: 04/25/03 09:20pm
By: Candi
Hi, having a little trouble with the max image width in the config file.
I saw that someone already brought this issue up[*1] , 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.
$_CONF['max_image_width']
Posted on: 04/26/03 01:43pm
By: Candi
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?
$_CONF['max_image_width']
Posted on: 04/26/03 04:49pm
By: Anonymous (Anonymous)
Where is it stripping the tags? In the story editor?
$_CONF['max_image_width']
Posted on: 04/26/03 07:10pm
By: 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...
$_CONF['max_image_width']
Posted on: 04/26/03 08:18pm
By: Candi
Disregard! I made a dumb mistake and figured it out.