Author Topic: Blue frame around picture  (Read 10167 times)

0 Members and 1 Guest are viewing this topic.

Offline clubsociety

  • Newbie
  • *
  • Posts: 22
    • View Profile
Blue frame around picture
« on: May 23, 2009, 08:20:18 PM »
Hello,

I'm searching for the possibility to change the bordercolor of a picture witch is shown by the command

{image} in "detail.html", but I can not find the program part where this is declared.   :|

It is blue in the moment but it should have #5a5a5a.

Who can help me?

Regards Michael

Offline nobby

  • 4images Guru
  • *******
  • Posts: 2.873
    • View Profile
Re: Blue frame around picture
« Reply #1 on: May 23, 2009, 08:25:07 PM »
Hallo,

schau dir mal die "style.css" an.

nobby

Offline clubsociety

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Blue frame around picture
« Reply #2 on: May 23, 2009, 08:27:32 PM »
Dort habe ich schon nachgesehen. Ich kann aber keinen Verweis auf #0000ff oder 'Blue' finden.

Was wird eigentlich mit dem Befehl {image} gemacht?

Michael

Offline nobby

  • 4images Guru
  • *******
  • Posts: 2.873
    • View Profile
Re: Blue frame around picture
« Reply #3 on: May 23, 2009, 08:31:13 PM »
dann gibt es noch die "header.html"

{image} ist die Bild Ausgabe, glaube ich zu mindest.


ps: falls Du Dreamweaver benutzt kannst Du doch das Verzeichnis danach suchen lassen.

Offline clubsociety

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Blue frame around picture
« Reply #4 on: May 23, 2009, 08:34:03 PM »
Auch dort habe ich schon nachgesehen und konnte weder #0000ff oder 'Blue' finden.

Wo ist denn die Bildausgabe über {image} beschrieben? Dort müsste doch auch der Rahmen um dem Bild definiert werden.

Michael


EDIT: Erst Lesen, dann antworten....werde mal suchen....

Offline nobby

  • 4images Guru
  • *******
  • Posts: 2.873
    • View Profile
Re: Blue frame around picture
« Reply #5 on: May 23, 2009, 08:38:33 PM »
thumbnail_bit.html

Code: [Select]
<table style="border-width:1px; border-color:rgb(185,185,185); border-style:solid;" cellpadding="0" cellspacing="0" width="10">

wenn man lange nichts mehr geändert hat, vergisst man einiges  :wink:

Offline clubsociety

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Blue frame around picture
« Reply #6 on: May 23, 2009, 08:43:06 PM »
Meine thumbnail_bit.html sieht folgendermaßen aus:

Code: [Select]
<!-- you wish detail page in a small javascript open window, use {thumbnail_openwindow} -->
{thumbnail}<br />
<b>{image_name}</b> {if image_is_new}<sup class="new">{lang_new}</sup>{endif image_is_new} ({user_name_link})
<br />
<a href="{cat_url}">{cat_name}</a><br />
{if allow_comments}{lang_comments} {image_comments}{endif allow_comments}<br />
{lightbox_button}

Von dem was Du schreibst sehe ich leider nichts.  :cry:

Michael


Offline nobby

  • 4images Guru
  • *******
  • Posts: 2.873
    • View Profile
Re: Blue frame around picture
« Reply #7 on: May 23, 2009, 08:48:46 PM »
nee, das ist ja auch nur ein Beispiel gewesen.

Wenn ich das recht sehe benutzt Du 4dark  :?:

Offline clubsociety

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Blue frame around picture
« Reply #8 on: May 23, 2009, 08:50:22 PM »
nö, das Tempalte heißt 4greyblue


Offline nobby

  • 4images Guru
  • *******
  • Posts: 2.873
    • View Profile
Re: Blue frame around picture
« Reply #9 on: May 23, 2009, 09:07:20 PM »
so hier ist es in der header.html

Code: [Select]
<td width="100%" bgcolor="#5A5A5A">
« Last Edit: May 23, 2009, 09:41:43 PM by nobby »

Offline clubsociety

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Blue frame around picture
« Reply #10 on: May 24, 2009, 12:49:09 AM »
Ich danke Dir für Deine Mühe, aber das ist es nicht....

Du hast hier eine Programmzeile gefunden, in das Resulat zu sehen ist, das ich erwarte. Ich möchte dn Rahmen um das Bild von #0000ff in #5a5a5a ändern, das heißt mit dem Hintergrund gleichsetzen.

Für mich wäre jetzt tatsächlich interessant genau zu wissen, wo der Befehl {image} definiert ist! Eine suche in einem Template für 4images in dem es generell um eine "Verwaltung" von Images geht, ist wirklich nicht sinnvoll.

MfG

Michael
« Last Edit: May 24, 2009, 02:12:09 AM by clubsociety »

Offline nobby

  • 4images Guru
  • *******
  • Posts: 2.873
    • View Profile
Re: Blue frame around picture
« Reply #11 on: May 24, 2009, 08:57:15 AM »
wenn der Rahmen nicht zu sehen sein soll brauchst doch nur den Rahmen von 1 auf 0 setzen.


Offline clubsociety

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Blue frame around picture
« Reply #12 on: May 24, 2009, 04:56:51 PM »
Tja, dann sind wir schon einer Meinung. Leider fehlt mir immer noch die Quelle, an der ich diese Änderung einpflegen könnte. Der Bereich, in dem der Befehl {image} auftritt, sieht folgendermaßen aus. Interessant ist hier die Zeile 26. Dort wird dieser Befehl aufgerufen:

Code: [Select]
<table width="100%" border="0" cellspacing="0" cellpadding="1">
                    <tr>
                      <td class="bordercolor">
                        <table width="100%" border="0" cellspacing="0" cellpadding="3">
                          <tr valign="top">
                            <td class="row2">
  {if prev_image_name}{lang_prev_image}<br />
                              <b><a href="{prev_image_url}">{prev_image_name}</a></b>
<br /><br /><a href="{prev_image_url}"><img src="{prev_thumb_file}" border="1"></a>
  {endif prev_image_name}&nbsp;</td>
                            <td align="right" class="row2">
  &nbsp;{if next_image_name}{lang_next_image}<br />
                              <b><a href="{next_image_url}">{next_image_name}</a></b>
  <br /><br /><a href="{next_image_url}"><img src="{next_thumb_file}" border="1"></a>
  {endif next_image_name}</td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
<br>
                  <b class="title">{image_name}</b>{if image_is_new} <sup class="new">{lang_new}</sup>{endif image_is_new}
                  <hr size="1" />
                  {if msg}<b>{msg}<br /><br /></b>{endif msg}
                  <div align="center">
    {image}
    {if admin_links}<br />{admin_links}<br />{endif admin_links}
    <br />{lightbox_button}&nbsp;&nbsp;{postcard_button}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{download_button}&nbsp;&nbsp;{download_zip_button}
  </div><br />
                  <table width="100%" border="0" cellspacing="0" cellpadding="1">
                    <tr>
                      <td class="bordercolor">
                        <table width="100%" border="0" cellpadding="3" cellspacing="0">
  <tr>
                            <td class="head1" valign="top" colspan="2">{image_name}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row1"><b>{lang_description}</b></td>
                            <td valign="top" class="row1">{image_description}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row2"><b>{lang_keywords}</b></td>
                            <td valign="top" class="row2">{image_keywords}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row1"><b>{lang_date}</b></td>
                            <td valign="top" class="row1">{image_date}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row2"><b>{lang_hits}</b></td>
                            <td valign="top" class="row2">{image_hits}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row1"><b>{lang_downloads}</b></td>
                            <td valign="top" class="row1">{image_downloads}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row2"><b>{lang_rating}</b></td>
                            <td valign="top" class="row2">{image_rating} ({image_votes}
                              {lang_votes})</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row1"><b>{lang_file_size}</b></td>
                            <td valign="top" class="row1">{image_file_size}</td>
                          </tr>
  <tr>
                            <td valign="top" class="row2"><b>{lang_added_by}</b></td>
                            <td valign="top" class="row2">{user_name_link}</td>
                          </tr>
 
  <tr>
                            <td valign="top" class="row1"><b>{lang_image_test}</b></td>
                            <td valign="top" class="row1">{image_test}</td>
                          </tr>
  <tr>
                            <td valign="top" class="row2"><b>{lang_image_test2}</b></td>
                            <td valign="top" class="row2">{image_test2}</td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
  {if iptc_info}<br />
  <table width="100%" border="0" cellspacing="0" cellpadding="1">
                  <tr>
                    <td class="bordercolor">
                      <table width="100%" border="0" cellpadding="3" cellspacing="0">
                        <tr>
                            <td class="head1" valign="top">IPTC Info</td>
                          </tr>
                  {iptc_info}
                        </table>
                      </td>
                    </tr>
                  </table>
                  {endif iptc_info}
  {if exif_info}
  <br />
  <table width="100%" border="0" cellspacing="0" cellpadding="1">
                  <tr>
                    <td class="bordercolor">
                      <table width="100%" border="0" cellpadding="3" cellspacing="0">
                        <tr>
                          <td class="head1" valign="top" colspan="2">EXIF Info</td>
                        </tr>
                {exif_info}
                        </table>
                      </td>
                    </tr>
                  </table>
                  {endif exif_info}
  {if rate_form}<div align="center">{rate_form}</div>{endif rate_form}
                  {if allow_comments}
  <br />
                  <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
                    <tr>
                      <td class="head1" valign="top">
                        <table width="100%" border="0" cellpadding="3" cellspacing="1">
                          <tr>
                            <td valign="top" class="head1">
  {lang_author}
</td>
<td valign="top" class="head1">
  {lang_comment}
</td>
                          </tr>
                          {comments}
                        </table>
                      </td>
                    </tr>
                  </table>
  <br />
  {comment_form}
                  {endif allow_comments}
  <br /><br />
                  <table width="100%" border="0" cellspacing="0" cellpadding="1">
                    <tr>
                      <td class="bordercolor">
                        <table width="100%" border="0" cellspacing="0" cellpadding="3">
                          <tr valign="top">
                            <td class="row2">
  {if prev_image_name}{lang_prev_image}<br />
                              <b><a href="{prev_image_url}">{prev_image_name}</a></b>
  <!-- <br /><br /><a href="{prev_image_url}"><img src="{prev_thumb_file}" border="1"></a> -->
  {endif prev_image_name}&nbsp;</td>
                            <td align="right" class="row2">
  &nbsp;{if next_image_name}{lang_next_image}<br />
                              <b><a href="{next_image_url}">{next_image_name}</a></b>
  <!-- <br /><br /><a href="{next_image_url}"><img src="{next_thumb_file}" border="1"></a> -->
  {endif next_image_name}</td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                  <p>&nbsp;</p>
                </td>
            <td width="19" valign="top"><img src="{template_url}/images/spacer.gif" alt="" width="19" height="19" /></td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td>
     
    </td>
  </tr>
</table>

Offline clubsociety

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Blue frame around picture
« Reply #13 on: May 24, 2009, 05:40:20 PM »
 :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D

Huurrrraaaaaa.....

folgende Zeile wurde ind der Datei ...\templates\YOUR_TEMPLATE\media\jpg.html geändet und der blaue Rahmen ist verschwunden:

Code: [Select]
<!-- Template file for JPG Files -->
<img src="{media_src}" border="1" alt="{image_name}"{width_height} usemap="#navi" ><br />

nach

Code: [Select]
<!-- Template file for JPG Files -->
<img src="{media_src}" border="0" alt="{image_name}"{width_height} usemap="#navi" ><br />

Somit ist dieses Problem für mich erledigt!!!

 :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D


Ich danke Nobby für seine Gedankenanstöße und aufgewendete Zeit!