Дополнительные картинки

#
Re: Дополнительные картинки
Название файла есть (Foto_1: shop_property_file_3612_2.jpg) выводится..
А я хотел что бы картинка выводилась а не название
Medeo
Модератор
#
Re: Дополнительные картинки
Medeo,
а тип св-ва с ID = 2 у Вас какой?
#
Re: Дополнительные картинки
Тип файла "Файл"
Medeo
Модератор
#
Re: Дополнительные картинки
Посмотрите в XML, какой у Вас <type> для этого св-ва, а лучше приведите фрагмент XML со свойством с ID=2
#
Re: Дополнительные картинки
Вот так стоит
<type>1</type>
Medeo
Модератор
#
Re: Дополнительные картинки
Medeo,
покажите фрагмент побольше, чтобы можно было увидеть всё свойство
#
Re: Дополнительные картинки
Вот чего я хочу добится!
Живой пример. http://ridelite.ru/shop/vilki/fork_identiti_rebate_park/

С дополнительными картинками.

Как мне это реализовать в XSL
Medeo
Модератор
#
Re: Дополнительные картинки
Medeo,
я у Вас XML прошу, чтобы разобраться, а Вы мне ссылку даете.
#
Re: Дополнительные картинки

<?xml version="1.0" encoding="windows-1251"?>
<shop id="1" current_group_id="0">
<name>Демонстрационный магазин</name>
<description></description>
<path>/shop/</path>
<sallers>
<saller id="1">
<sallers_name>ООО &quot;Инфинити&quot;</sallers_name>
<sallers_contact_person>Иванов И. А.</sallers_contact_person>
<sallers_comment></sallers_comment>
<sallers_address></sallers_address>
<sallers_phone></sallers_phone>
<sallers_fax></sallers_fax>
<sallers_http></sallers_http>
<sallers_email></sallers_email>
<sallers_inn></sallers_inn>
</saller>
</sallers>
<item id="158" group="0">
<captcha_key>46849</captcha_key>
<name>Карточка 200</name>
<saller>0</saller>
<marking_of_goods></marking_of_goods>
<description></description>
<date>29.04.2008</date>
<datetime>29.04.2008 04:09:53</datetime>
<time>04:09:53</time>
<putoff_date>29.04.2008 04:09:53</putoff_date>
<putend_date>00.00.0000 00:00:00</putend_date>
<text></text>
<weight>0</weight>
<weight_mesure>г</weight_mesure>
<rest>0</rest>
<mesure></mesure>
<price>200.00</price>
<price_tax>200.00</price_tax>
<price_discount>200.00</price_discount>
<item_currency>руб.</item_currency>
<currency>руб.</currency>
<is_active>1</is_active>
<order>0</order>
<path>kartochka_200</path>
<fullpath></fullpath><seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<indexation>1</indexation>
<vendorCode></vendorCode>
<property id="2" xml_name="pictures">
<name>Дополнительные фотографии</name>
<xml_name>pictures</xml_name>
<type>1</type>
<order>0</order>
<prefics></prefics>
<value>but_4.gif</value>
<file_path width = "100" height = "24">/upload/shop_1/item_catalog_158/shop_property_file_158_132.gif</file_path>
<small_image>
<value>but_4.gif</value>
<file_path width = "100" height = "24">/upload/shop_1/item_catalog_158/small_shop_property_file_158_132.gif</file_path>
</small_image>
<mesure>боб</mesure></property>
</item>
</shop>
Medeo
Модератор
#
Re: Дополнительные картинки
Проверил XML с ранее опубликованным XSL-ом - все отлично работает, выводится именно картинка, а не название.
Авторизация