Page 1 of 1

wishlist - remove image data from grid

Posted: Sun Sep 18, 2011 9:20 am
by rnervi
add a parameter to show - hide pic data as
W:255px H:170px S:4.85 KB
just under pic name on front side

how to manual solve:

file:
com_admirorgallery_3\plugin\AdmirorGallery\templates\listed\index.php

lines 33-38

original

Code: Select all

foreach ($AG->images as $imageKey => $imageName)
{

// Loads values into $AG->imageInfo array for target image
$AG->getImageInfo($imageName);

$html .= '
    <table border="0" cellspacing="0" cellpadding="0" width="100%" class="ag_item">
    <tbody>
    <tr><td class="ag_thumbTd">
    <span class="ag_thumb'.$AG->params['template'].'">';
    $html.= $AG->writePopupThumb($imageName);
    $html .='</span></td>
    <td class="ag_info">
    <table border="0" cellspacing="0" cellpadding="0">
    <tbody>
    <tr><td class="ag_description">
    '.$AG->writeDescription($imageName).'
    <tr><td class="ag_imageStat">
    <span>W:'.$AG->imageInfo["width"].'px</span>
    <span>H:'.$AG->imageInfo["height"].'px</span>
    <span>S:'.$AG->imageInfo["size"].'</span>
    </td></tr>
    </td></tr></tbody></table>
    </td></tr></tbody></table>';
}

changeto:

Code: Select all


foreach ($AG->images as $imageKey => $imageName)
{

// Loads values into $AG->imageInfo array for target image
$AG->getImageInfo($imageName);

$html .= '
    <table border="0" cellspacing="0" cellpadding="0" width="100%" class="ag_item">
    <tbody>
    <tr><td class="ag_thumbTd">
    <span class="ag_thumb'.$AG->params['template'].'">';
    $html.= $AG->writePopupThumb($imageName);
    $html .='</span></td>
    <td class="ag_info">
    <table border="0" cellspacing="0" cellpadding="0">
    <tbody>
    <tr><td class="ag_description">
    '.$AG->writeDescription($imageName).'
    </td></tr></tbody></table>
    </td></tr></tbody></table>';
}



Re: wishlist - remove image data from grid

Posted: Mon Sep 19, 2011 12:05 pm
by Vasiljevski
Not a bad idea :) I will think about it.

Currently highest priority is making Joomla! 1.6 & 1.7 version of the whole component :)