Помогите создать фотогалерею.

#
Помогите создать фотогалерею.
Добрый день, помогите создать фотогалерею, за основу шаблона взял Wirpool и изменил его, что получилось можно увидеть по адресу www.angels-fish.com
При создании фотогалереии использую шаблон XLS СписокКартинок, но к сожалению получается полная ерунда.
я НОВЕНЬКИЙ в творении сайтов.
Заранее благодарен!
#
Re: Помогите создать фотогалерею.
а что именно вы хотите? опишите...
мы ведь тут не экстрасенсы, мыслей читать не умеем....
P.S. кстати у вас в карте сайта галерея отображается)
#
Re: Помогите создать фотогалерею.
как Вам сказать, раздражает эта кинолента присутствующая на фоне маленьких фото и хочется увеличить размер малого фото
#
Re: Помогите создать фотогалерею.
размер маленькой фотографии вы можете задать в панели администрарования, только запомните - изменив размеры там - фотографии автоматом не изменят своего размера... вам надо будет снова перезалить фотографии....

а по поводу киноленты.....
открываете xls шаблоны.... в фотогалерее находите шаблон "СписокКартинок"...
в нем есть следующий код:
<table border="0" cellspacing="0" cellpadding="0" style="margin-bottom: 10px;">
         <tr style="background: url('/images/top_film_border.gif') repeat-x 0 100%;">
            <xsl:for-each select="//blocks/items/item[item_status=1]">
               <xsl:if test="position() > $current_position and ($current_position + $items_in_line) >= position()">
                  <td style="padding: 0px 0px 22px 5px;">
                     <!-- Название -->
                     <p class="news_title">
                        <a href="{item_path}">
                           <xsl:value-of disable-output-escaping="yes" select="item_name"/>
                        </a>
                     </p>
                  </td>
               </xsl:if>
            </xsl:for-each>
         </tr>
         
         <tr style="background-color: #eeeeee">
            <xsl:for-each select="//blocks/items/item[item_status=1]">
               <xsl:if test="position() > $current_position and ($current_position + $items_in_line) >= position()">
                  <td style="padding: 0px 5px 0px 5px;">
                     <xsl:if test="item_small_image!=''">
                        <!-- Проверяем задан ли путь к файлу большого изображения -->
                        <xsl:if test="item_image!=''">
                           <a href="{item_image}" target="_blank">
                              <img src="{item_small_image}" class="image" />
                           </a>
                        </xsl:if>
                        <xsl:if test="item_image = ''">
                           <img src="{item_small_image}" class="image" />
                        </xsl:if>
                     </xsl:if>
                  </td>
               </xsl:if>
            </xsl:for-each>
         </tr>
         
         <tr style="background: url('/images/bottom_film_border.gif') repeat-x 0 0;">
            <xsl:for-each select="//blocks/items/item[item_status=1]">
               <xsl:if test="position() > $current_position and ($current_position + $items_in_line) >= position()">
                  <td style="padding: 25px 0px 0px 5px;">
                     <span class="date">
                        <xsl:value-of disable-output-escaping="yes" select="item_image/@width"/>&#xD7;<xsl:value-of disable-output-escaping="yes" select="item_image/@height"/>
                        <br/>
                     </span>
                     
                     <!-- Дата время -->
                     <span class="date">
                        <xsl:value-of disable-output-escaping="yes" select="item_datetime"/>
                     </span>
                     
                     <xsl:if test="item_description != ''">
                        <br/>
                        <xsl:value-of disable-output-escaping="yes" select="item_description"/>
                     </xsl:if>
                     
                     <xsl:if test="count(tags/tag) &gt; 0">
                        <p class="tags">
                           <img src="/hostcmsfiles/images/tags.gif" align="left" style="margin: 0px 5px -2px 0px"/>
                           <xsl:apply-templates select="tags/tag"/>
                        </p>
                     </xsl:if>
                     
                     <xsl:if test="count(site_user) &gt; 0">
                        <p>
                           <img src="/hostcmsfiles/images/user.gif" style="margin: 0px 5px -4px 0px"/>
                           <strong>
                              <a href="/users/info/{site_user/site_user_login}/" class="c_u_l">
                                 <xsl:value-of select="site_user/site_user_login"/>
                              </a>
                           </strong>
                           <xsl:if test="count(item_comments/comment) &gt; 0">,
                              <img src="/hostcmsfiles/images/comments.gif" style="margin: 0px 5px -4px 0px"/>
                              <a href="{item_path}#comments">
                                 <xsl:value-of select="count(item_comments//comment)"/>&#xA0;<xsl:call-template name="declension">
                                 <xsl:with-param name="number" select="count(item_comments//comment)"/></xsl:call-template></a>
                           </xsl:if>
                        </p>
                     </xsl:if>
                  </td>
               </xsl:if>
            </xsl:for-each>
         </tr>
      </table>
#
Re: Помогите создать фотогалерею.
вам надо в нем убрать фон центра, и верхнюю с нижней картинки киноленты...
после редактирования данной таблицы она должна принять такой вид:
<table border="0" cellspacing="0" cellpadding="0" style="margin-bottom: 10px;">
         <tr>
            <xsl:for-each select="//blocks/items/item[item_status=1]">
               <xsl:if test="position() > $current_position and ($current_position + $items_in_line) >= position()">
                  <td style="padding: 0px 0px 22px 5px;">
                     <!-- Название -->
                     <p class="news_title">
                        <a href="{item_path}">
                           <xsl:value-of disable-output-escaping="yes" select="item_name"/>
                        </a>
                     </p>
                  </td>
               </xsl:if>
            </xsl:for-each>
         </tr>
         
         <tr>
            <xsl:for-each select="//blocks/items/item[item_status=1]">
               <xsl:if test="position() > $current_position and ($current_position + $items_in_line) >= position()">
                  <td style="padding: 0px 5px 0px 5px;">
                     <xsl:if test="item_small_image!=''">
                        <!-- Проверяем задан ли путь к файлу большого изображения -->
                        <xsl:if test="item_image!=''">
                           <a href="{item_image}" target="_blank">
                              <img src="{item_small_image}" class="image" />
                           </a>
                        </xsl:if>
                        <xsl:if test="item_image = ''">
                           <img src="{item_small_image}" class="image" />
                        </xsl:if>
                     </xsl:if>
                  </td>
               </xsl:if>
            </xsl:for-each>
         </tr>
         
         <tr>
            <xsl:for-each select="//blocks/items/item[item_status=1]">
               <xsl:if test="position() > $current_position and ($current_position + $items_in_line) >= position()">
                  <td style="padding: 25px 0px 0px 5px;">
                     <span class="date">
                        <xsl:value-of disable-output-escaping="yes" select="item_image/@width"/>&#xD7;<xsl:value-of disable-output-escaping="yes" select="item_image/@height"/>
                        <br/>
                     </span>
                     
                     <!-- Дата время -->
                     <span class="date">
                        <xsl:value-of disable-output-escaping="yes" select="item_datetime"/>
                     </span>
                     
                     <xsl:if test="item_description != ''">
                        <br/>
                        <xsl:value-of disable-output-escaping="yes" select="item_description"/>
                     </xsl:if>
                     
                     <xsl:if test="count(tags/tag) &gt; 0">
                        <p class="tags">
                           <img src="/hostcmsfiles/images/tags.gif" align="left" style="margin: 0px 5px -2px 0px"/>
                           <xsl:apply-templates select="tags/tag"/>
                        </p>
                     </xsl:if>
                     
                     <xsl:if test="count(site_user) &gt; 0">
                        <p>
                           <img src="/hostcmsfiles/images/user.gif" style="margin: 0px 5px -4px 0px"/>
                           <strong>
                              <a href="/users/info/{site_user/site_user_login}/" class="c_u_l">
                                 <xsl:value-of select="site_user/site_user_login"/>
                              </a>
                           </strong>
                           <xsl:if test="count(item_comments/comment) &gt; 0">,
                              <img src="/hostcmsfiles/images/comments.gif" style="margin: 0px 5px -4px 0px"/>
                              <a href="{item_path}#comments">
                                 <xsl:value-of select="count(item_comments//comment)"/>&#xA0;<xsl:call-template name="declension">
                                 <xsl:with-param name="number" select="count(item_comments//comment)"/></xsl:call-template></a>
                           </xsl:if>
                        </p>
                     </xsl:if>
                  </td>
               </xsl:if>
            </xsl:for-each>
         </tr>
      </table>

и все) киноленты нет)
#
Re: Помогите создать фотогалерею.
Спасибо Вам большое )
Авторизация