現在、MagePsychojqueryライトボックスの拡張機能を使用しています。この拡張機能は、フロントエンドですべてのサムネイルを呼び出し、「その他のビュー」のサムネイルとして表示します。これらを制限したいと思います。media.phtmlのコードは次のとおりです。
`<div class="more-views">
<h2><?php echo $helper->getConfig('more_views_label') ?></h2>
<ul>
<?php foreach ($this->getGalleryImages() as $_image):
if(empty($popUpImageSize[0]) || empty($popUpImageSize[0])):
$popUpImage = $this->helper('catalog/image')->init($this->getProduct(), 'image', $_image->getFile());
else:
$popUpImage = $this->helper('catalog/image')->init($this->getProduct(), 'image', $_image->getFile())->resize($popUpImageSize[0], $popUpImageSize[1]);
endif;
?>
<li>
<a href="<?php echo $popUpImage; ?>" rel="<?php echo $rel; ?>" class="<?php echo $class; ?>" title="<?php echo $this->htmlEscape($_image->getLabel()) ?>"><img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize($thumbnailSize[0], $thumbnailSize[1]); ?>" alt="<?php echo $this->htmlEscape($_image->getLabel()) ?>" /></a>
</li>
<?php endforeach; ?>
</ul>
`
問題を説明する画像が添付されています。ありがとう