#338 Changing image directory breaks Topic editor

closed-wont-fix
nobody
None
5
2004-01-05
2003-12-31
No

I needed to change the location of images for my slash
site, as I was already using [/images] for other
purposes. I changed the physical location on disk,
changed the imagedir variable in the vars table to
match, and updated my apache configuration to serve
up the image dir. It all works great, with one exception -
the Topics editor retrieves the images for the image
dropdown list from $basedir/images/topics, which is
most likely not correct if you're using a custom
$imagedir value. I made a symlink from images/topics to
my actual location and it works fine, but it would
probably be better if $basedir/images/topics was
replaced with a new variable? The only thing the topic
editor has to go on is $imagedir, which isn't that useful
because it's a web directory, and it needs a disk
directory. Clear as mud?! :>

Discussion

  • Jamie McCarthy
    Jamie McCarthy
    2004-01-03

    Logged In: YES
    user_id=3889

    Ya know, I started typing up notes to myself on how to fix this, but
    on rethinking it, I don't think it's unreasonable to expect Slash to
    be able to use whatever directories it wants under the path you
    point it to. Sorry, but if we start adding a var for every
    subdirectory we use, even for /images/, the code is just going to
    get that much more bloated and hard to maintain. If you honestly
    can't allow Slash to use the /images/ directory it wants to use,
    you'll have to open up admin.pl and topicEdit;admin;default and
    customize them yourself.

     
  • Jamie McCarthy
    Jamie McCarthy
    2004-01-03

    • labels: 105428 -->
    • milestone: 169310 -->
    • status: open --> open-wont-fix
     
  • Rob Malda
    Rob Malda
    2004-01-05

    • status: open-wont-fix --> closed-wont-fix