![]() |
Add Description To Admin Image Listing
What would be the best way to add the image's description to the image listing in the Administration panel? Can someone point me in the right direction?
Thanks, -Sean |
You can create an addon to do so. It would be fairly simple if you know PHP.
|
Do you know what file is used to display what we see now?
|
I believe I've been able to figure this out. The following line has been added to the images_edit.php file located in the admin folder:
echo "<b>Description:</b> $body"; Add this after line # 584 if you want it to appear after the filename, dimensions, etc. Normally I wouldn't recommend editing the core files directly, but this is working for me with no ill effects. |
The output won't be cleaned from the database so special characters will remain escaped but none the less that works as a hack. You'll just loose the function after upgrading.
|
I added this to line 585 of images_edit.php
echo "<b>Description:</b> $body <br/>"; This gives you this output: #43 English Title: A Witch at the Apothecary File-name: 20090304001320_straford upon avon - witch.jpg Dimensions: 745 x 1000, 374.593 KB To be published: 2009-03-04 00:13:21 Description: This was in a reputedly haunted shop in Stratford Upon Avon. A good bit of fun if you are down there. This was taken with my first EOS which was a EOS 300 35mm FILM Camera and scanned with an Epson RX640 professional series Scanner. Categories: [Portraits] English Tags: black stratford-upon-avon white witch Hope this helps ;) Not sure why this is not included in the original file tbh! |
| All times are GMT. The time now is 12:35 AM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.