Admin Product image thumbnail


english 51994

Admin Product image thumbnail

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>

There are currently no product reviews.
Why your email address?
If necessary, I will contact you to help you with the implementation.
Your email address will not be made public.
Is this post helpful to you?
Please enter the verification code!
Please enter the verification code!
Information(1)
General information
 Free advertising
Post counter
Current information status:
Categories: 9
Posts: 104
Support pages: 57
Downloads for members: 104
Download counter: 646
Reviews total79
Companies: 34
Support: 38
Information: 7