Active
Project:
Gallery Assist
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Nov 2010 at 15:26 UTC
Updated:
4 Nov 2010 at 15:26 UTC
Is there any right way to modify so called $boxes variable in gallery-assist-display.tpl.php?
I do want modify how thumbnails are shown. I can do most things before and after thumbs.
Now my only solution goes something like this
//some bad coding
$boxes=str_replace('style="height:160px;width:160px;"','',$boxes);
$boxes=str_replace('height:168px;width:168px;','height:98px;width:168px;',$boxes);
$boxes=str_replace('style="margin-top:35px;','',$boxes);
print $boxes;
And anyway - using style tag is not recommended thing in my opinion - it's hard to theme such items :)