wishlist - remove image data from grid

Admiror Gallery is free extension for Joomla! based websites. Admiror Gallery is all in one, a simple and instant solution for rendering image gallery from folder with images, but very flexible and adaptable.
Post Reply
Message
Author
rnervi
Posts: 2
Joined: Sun Sep 18, 2011 9:16 am

wishlist - remove image data from grid

#1 Post 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>';
}



Admiror Gallery 5 - Fundraising Campaign

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: wishlist - remove image data from grid

#2 Post 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 :)
Help Admiror Gallery become even better,
give us a review on JED

Post Reply