diff options
| author | hartmut <noreply@maennchen1.de> | 2017-03-10 09:06:20 +0000 |
|---|---|---|
| committer | hartmut <noreply@maennchen1.de> | 2017-03-10 09:06:20 +0000 |
| commit | aac6af5189d650d3a17b8a45d3eeae9ed6c1b168 (patch) | |
| tree | 246b0164abba71eb5a69e47f4dff1df63b65a2fa /views/warenkorb/ajaxDialog.phtml | |
| parent | ea5a18c80886d82519151dc866789ea057d919c5 (diff) | |
Mediathek-Unterstützung
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6113 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/warenkorb/ajaxDialog.phtml')
| -rw-r--r-- | views/warenkorb/ajaxDialog.phtml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/views/warenkorb/ajaxDialog.phtml b/views/warenkorb/ajaxDialog.phtml index cad27f5..ae2ac19 100644 --- a/views/warenkorb/ajaxDialog.phtml +++ b/views/warenkorb/ajaxDialog.phtml @@ -31,9 +31,11 @@ <div class="wpsg_basket_ajax_message_content_left">
<?php if ($this->hasMod('wpsg_mod_produktbilder')) { ?>
- <?php $arBilder = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($this->getProduktId($this->view['product_data']['id']))); ?>
+ <?php $arBilder = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder_MT', array($this->getProduktId($this->view['product_data']['id']))); ?>
<?php if (wpsg_isSizedArray($arBilder)) { ?>
- <img src="<?php echo $this->callMod('wpsg_mod_produktbilder', 'makeTn', array($this->getProduktId($this->view['product_data']['id']), $arBilder[0], 150, 150, 's')); ?>" alt="" />
+ <?php $href = wp_get_attachment_image_src($arBilder[0]['post_id'], Array(30, 30)); ?>
+ <?php $imgtag = wp_get_attachment_image($arBilder[0]['post_id'], Array(30, 30)); ?>
+ <img src="<?php echo $href[0]; ?>" width="30" height="30" alt="" />
<?php } ?>
<?php } ?>
</div>
|
