Author Topic: Admin Panel --> Edit images (to have thumbnails?)  (Read 5412 times)

0 Members and 1 Guest are viewing this topic.

Offline tradertt

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
Admin Panel --> Edit images (to have thumbnails?)
« 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.

Offline jengwen

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • http://www.jenrichardsphotography.com
Admin Panel --> Edit images (to have thumbnails?)
« Reply #1 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?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Admin Panel --> Edit images (to have thumbnails?)
« Reply #2 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.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline jengwen

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • http://www.jenrichardsphotography.com
Admin Panel --> Edit images (to have thumbnails?)
« Reply #3 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.

Offline jengwen

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • http://www.jenrichardsphotography.com
Admin Panel --> Edit images (to have thumbnails?)
« Reply #4 on: March 17, 2003, 01:37:46 AM »
I just posted a mod in the other forum that will do this