Hello, Attached is a patch file that adds a new attribute "linksize" to the XML parser for XLINKS.
Attached also is all templates that use XLINKS updated to include "linksize". Best regards
--- bins 2005-08-25 20:34:39.000000000 +0200
+++ bins_OK 2012-06-10 20:22:01.683963560 +0200
@@ -2559,7 +2559,8 @@
my $xLinksRef = shift;
my @xLinks=();
foreach my $xLink ( @$xLinksRef ) {
- my %row = ( link => $xLink );
+ $linksize = -s "$picdir$xLink";
+ my %row = ( link => $xLink, linksize => $linksize );
push(@xLinks, \%row);
}
return \@xLinks;
templates.tar.gz
Description: GNU Zip compressed data

