Helpful Information
 
 
Category: vBulletin 3.5
Image Directory Lister

This is something I've been meaning to do for a long time :ninja:. How many hours have I spent going through a couple hundred VB images and trying to remember which ones I've changed and already uploaded? This script solves that. :up:

What It Does:
This is a simple directory listing script I grabbed from elsewhere (credits in the file) and have modified to show all the images in the directory it occupies, and also in any child directory. Also added a JS page color selector preloaded with 9 VB default background colors to make it easier to see what the images look like on various backgrounds. Just switch the colors to your own.

How To Use It:
Simply upload it to your vb /images directory and point your browser to it.

For instance: yoursite.com/forums/images/imagelist.php

If you only want to list images in one of the child directories, load it there instead. As you upload replacement images, refresh the page to see them. Once you're finished, delete the file from your website.

Considerations:
* Since this thing is going to display every image file in your /images directory all on one page (over 200Kb of images for a default install) and the page is equipped with no-cache headers, you are going to suck down some bandwidth every time you refresh. If you have an immense avatar or smilie library to upload, it's going to list all those too so you might wait until you're done customizing board images first.

* There is no security for this script yet. If you leave it on your server anyone can come along and list/snag every image you have just by tagging the file with their browser. If you want to leave it there while you keep working at least name it to something else to prevent anyone else from finding it.

Planned Additions:
There are a few things I want to add to this, although I'll need to track down how for some of it:

List images only in a certain directory
Harnass it to VB to make usergroup permissions apply
Browse/upload ability
Previewing ability

=============================
Anyway, it's not much but it sure comes in handy when skinning a VB, especially considering VB's current lack of an image managing system. Hope it helps somebody.

**edit**
Decided to suck up some bandwidth and added a link to a demo of this. Once I tie it to usergroup permissions this may require rethinking, but here it is for now anyway:

ImageList Demo (http://llamasery.com/imagelister/imagelist.php)

No screenshot really needed but here's one for those who like them:

would be better to create a tool from it instead of just releasing this as one...

actually, it to nothing with vBulletin...

Hey, these all start somewhere :). Thanks for the constructive feedback.

As to having nothing to do with VB, you're mostly right except:

I don't have a single thing to use this for except skinning VB
VB has no indigenous image manager

Anyway, it is and does what it says. I needed something quick and reasonable to help skin a new board and this is the current solution. It'll integrate more fully with VB later. One mission at a time.










privacy (GDPR)