Admin Product image thumbnail


1100
Thumbnail Display in the product listings of each category of the admin panel.
Find in catalog/admin/categories.php
require('includes/application_top.php');

Add below:

  define(CATEGORIES_IMAGE_HEIGHT, 35);
  define(CATEGORIES_IMAGE_WIDTH, 35);

Search in standard version: 2.3.4

<td class="dataTableContent"><?php echo '<a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $products['products_id'] . '&action=new_product_preview') . '">' . tep_image(DIR_WS_ICONS . 'preview.gif', ICON_PREVIEW) . '</a>&nbsp;' . $products['products_name']; ?></td>

Change to:

<td class="dataTableContent"><?php echo '<a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $products['products_id'] . '&action=new_product_preview') . '">' . tep_info_image($products['products_image'], $products['products_name'], CATEGORIES_IMAGE_WIDTH, CATEGORIES_IMAGE_HEIGHT) . '</a>&nbsp;' . $products['products_name']; ?></td>

Search in BS EDGE-Version:

<td class="dataTableContent"><?php echo '<a href="' . tep_href_link('categories.php', 'cPath=' . $cPath . '&pID=' . $products['products_id'] . '&action=new_product_preview') . '">' . tep_image('images/icons/preview.gif', ICON_PREVIEW) . '</a>&nbsp;' . $products['products_name']; ?></td>

Change:

<td class="dataTableContent"><?php echo '<a href="' . tep_href_link('categories.php', 'cPath=' . $cPath . '&pID=' . $products['products_id'] . '&action=new_product_preview') . '">' . tep_info_image($products['products_image'], $products['products_name'], CATEGORIES_IMAGE_WIDTH, CATEGORIES_IMAGE_HEIGHT) . '</a>&nbsp;' . $products['products_name']; ?></td>

Information(1)
General information
 Lazy Loading
Post counter
Current information status:
Categories: 8
Posts: 104
Support pages: 51
Downloads for members: 104
Download counter: 646