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/mods/mod_request/requestpage.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/mods/mod_request/requestpage.phtml')
| -rw-r--r-- | views/mods/mod_request/requestpage.phtml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/views/mods/mod_request/requestpage.phtml b/views/mods/mod_request/requestpage.phtml index 96aff04..47a4a89 100644 --- a/views/mods/mod_request/requestpage.phtml +++ b/views/mods/mod_request/requestpage.phtml @@ -103,12 +103,14 @@ <?php if ($this->hasMod('wpsg_mod_produktbilder') && $this->get_option('wpsg_mod_request_requestpageimage') == '1') {
if (wpsg_isSizedString($request_product['product_data']['varianten_image'])) $arBilder = array($request_product['product_data']['varianten_image']);
- else $arBilder = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($request_product['product_id']));
+ else $arBilder = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder_MT', array($request_product['product_id']));
?>
<?php if (wpsg_isSizedArray($arBilder)) { ?>
<div class="wpsg_basket_productimage">
- <img src="<?php echo $this->callMod('wpsg_mod_produktbilder', 'makeTn', array($request_product['product_id'], array_shift($arBilder), 30, 30, 'c')); ?>" alt="<?php echo wpsg_hspc((($request_product['product_data']['detailname'] != '')?$request_product['product_data']['detailname']:$request_product['product_data']['name'])); ?>" />
+ <?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 echo wpsg_hspc((($request_product['product_data']['detailname'] != '')?$request_product['product_data']['detailname']:$request_product['product_data']['name'])); ?>" />
</div>
<?php } ?>
<?php } ?>
|
