4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: tradertt on March 03, 2003, 07:15:05 AM

Title: Admin Panel --> Edit images (to have thumbnails?)
Post 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.
Title: Admin Panel --> Edit images (to have thumbnails?)
Post by: jengwen on March 15, 2003, 07:13:32 PM
I think what you need to change is in admin/images.php:

Here is the current code:
Code: [Select]
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?
Title: Re: Admin Panel --> Edit images (to have thumbnails?)
Post by: V@no on March 15, 2003, 09:17:45 PM
Quote from: tradertt
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.
Title: Admin Panel --> Edit images (to have thumbnails?)
Post by: jengwen on March 15, 2003, 09:39:58 PM
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.
Title: Admin Panel --> Edit images (to have thumbnails?)
Post by: jengwen on March 17, 2003, 01:37:46 AM
I just posted a mod in the other forum that will do this