4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: tradertt on March 03, 2003, 07:15:05 AM
-
Is it possible to have thumbnails in the admin panel when I am editing images. So that I know which image am I deleting. Although I know that I can click on the image name to pop up a big window but it will be great to have such a mod.
-
I think what you need to change is in admin/images.php:
Here is the current code:
while ($image_row = $site_db->fetch_array($result)) {
echo "<tr class=\"".get_row_bg()."\">";
echo "<td><input type=\"checkbox\" name=\"deleteimages[]\" value=\"".$image_row['image_id']."\" /></td>";
echo "<td><b><a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$image_row['image_id'])."\" target=_blank>".htmlspecialchars($image_row['image_name'])."</a></b> (".$image_row['image_media_file'];
I tried to add some img src= code to show the thumbnail, but couldn't get the syntax right. Maybe someone else can help?
-
Is it possible to have thumbnails in the admin panel when I am editing images. So that I know which image am I deleting. Although I know that I can click on the image name to pop up a big window but it will be great to have such a mod.
I'm not quet sure what do u mean?
When u edit an image, it shows u thumbnail AND full image.
-
I think she means the page that lists all the images. It is difficult if you want to delete one and are just faced with a giant list. Having the thumbnails there too would make it much easier.
-
I just posted a mod in the other forum that will do this