My Zenphoto Theme (zpSkeleton) is using the following code in album.php to print the CustomSizedImage.
The CostumSizedImage is linking to getImageLinkURL of the Image.
`
"
title="<?php echo getBareImageTitle();?>">
<?php if ($thumbcrop) {
printCustomSizedImage(getBareImageTitle(),null,$imagesize,
$imagesize,$imagesize,$imagesize,null,null,'remove-
attributes',null,true); } else {
printCustomSizedImage(getBareImageTitle(),$imagesize,null,
null,null,null,null,null,'remove-attributes',null,true); } ?>
`
Would it be possible to make use of a Codeblock call to prevent linking to the getImageLinkURL for certain subalbums?
To write a code in Codeblock (in certain Subalbums) and have album.php not printing the Link to getImageLinkURL?
Thank You.
Comments
Code in codeblocks is just executed. You cannot affect other parts of code using theme (PHP code is done already when displayed).