
MalaK_3araby
User
Oct 9, 2002, 11:40 AM
Post #1 of 5
(5129 views)
Shortcut
|
|
[ADDON] Browsing Images & Thumbnailing - NIX & Win
|
Can't Post
|
|
Hello everyone .... I found this like 20 minutes ago and ran my tests and i like it so i am sharing. What does it do? It displays all images (or all files if you set it that way) in a directory in thumbnails (80x50) in a nice table with the following related info: - size in kb - size in pixels - file name If you click a thumbnail a window will pop-up with the actual size of the image. This is a Php script (chmod to 644) .. and you may implement it any way you like .. Personally, i edited the interface templates (_art_menus.html & _writer_menus.html) and added a Browse link that open in a new window to call the file. i.e: Find <input type="submit" name="img_upload" value="Upload Images"> and after that add <FONT SIZE="2"><a href="../uploads/tedls.php" target="_blank">Browse</a></FONT> I uploaded the script to my Uploads folder .. but you can put it anywhere you like if you edit the path to the images dir and images dir is chmoded to 777. Its really simple .. so have a go at it and if you have any questions ask away. Attachments: - screenshot - script file Opinons? Like it? hate it? gonna use it? let me know plz .. -------------- Sure you can spell it, but do you get it?
(This post was edited by MalaK_3araby on Oct 9, 2002, 11:44 AM)
|