Indexr has effectively been replaced by new Files app. See official announcement, view demo or visit website.
---
Related links:
[dead links removed]
Indexr is a small versatile footprint PHP script that lists images and files in any folder on your server. Simply drop the single index.php file into your directory with files or images, and it will list everything in a nice eye-pleasing manner when accessed.
You can use Indexr to quickly set up small gallery, display files for clients online, or simply to resize all images or create thumbnails in a specific folder. You can change sorting order, thumbnail size, CSS and html layout by simply editing the single index.php file. Not only does Indexr list files in folders, but it also creates thumbnails for images and shows additional file information. If you need a simple but pretty directory listing with thumbnails, try Indexr!
PS! Indexr is FREE to download, and is not related to the Imagevue Gallery.
- List all/any filetypes in a specific directory
- Resize images or create thumbnails on-the-fly for any folder
- Displays thumbnail preview for image formats
- Display full-size images with previous/next navigation
- Sort files by date, name or extension
- Filter files by extension
- Easily Customize CSS and layout
Simply copy the index.php file into your file directory, and access it from your browser. In the demo below, we simply dropped the Indexr index.php file into our /demo/indexr/ directory:
[dead link removed]
Indexr check if there is thumbs/ folder exists to store thumbnails in, if there is no thumbs/ it will create thumbnails in the current folder.
System Requirements
- Web server with PHP4 or greater
- GD2 or ImageMagick is required for thumbnails. One of these will normally exist on your server already.
You can change some options like sorting, thumbnail-size and allowed extensions by editing the index.php file directly. By changing css and html you can give it any look you want. Simply open index.php in any text-editor.
Options
Code
define('THUMB_PREFIX', 'tn_');
Code
define('THUMB_DIMENSIONS', '120x');
If only the width is specified (e.g. '160x'), all thumbnails will be one width but different height.
If only the height is specified (e.g. 'x120'), all thumbnails will be one height but different width.
If width and height will be empty both, thumbnail will be a copy of original image.
Code
define('THUMB_QUALITY', '85');
Code
define('DATE_FORMAT', 'd M Y');
Code
define('ALLOWED_FILES', '*.png|*.jpg|*.gif|*.mp3|*.htm*|*.txt|*.zip');
Empty string means all files allowed.
You can use shell wildcards:
* - zero or more characters (any);
? - exactly one character (any).
Divide masks with | character.
Code
define('SORT_METHOD', 'date-');
- name+ - sort by name ascending
- name- - sort by name descending
- date+ - sort by date ascending
- date- - sort by date descending
Code
define('NUMBER_OF_COLUMNS', 3);