Author Topic: Eine leere GIF-Datei über die Grafik legt.  (Read 44225 times)

0 Members and 1 Guest are viewing this topic.

Offline Sunny C.

  • Addicted member
  • ******
  • Posts: 1.806
  • I ♥ 4I
    • View Profile
Re: Eine leere GIF-Datei über die Grafik legt.
« Reply #15 on: August 06, 2008, 11:54:51 AM »
bei mir sieht es in der media/jpg so aus:

Code: [Select]
<div id="container" style="position:static; width:{width}px; height:{height}px; border:0px; background: url({media_src}) top left no-repeat; text-align:left;">
Kann man dort auch eine Grafik drüber legen?

Das geht das nicht so einfach oder?

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Eine leere GIF-Datei über die Grafik legt.
« Reply #16 on: August 06, 2008, 12:01:50 PM »
... für div-container kannst du auch folgendes, etwas modifiziert, verwenden ...
... http://www.4homepages.de/forum/index.php?topic=22350.msg121940#msg121940 ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Sunny C.

  • Addicted member
  • ******
  • Posts: 1.806
  • I ♥ 4I
    • View Profile
Re: Eine leere GIF-Datei über die Grafik legt.
« Reply #17 on: August 06, 2008, 12:05:56 PM »
Super, ich anke dir vielmals!

Offline External

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Eine leere GIF-Datei über die Grafik legt.
« Reply #18 on: October 29, 2008, 03:59:47 PM »
bei mir sieht es in der media/jpg so aus:

Code: [Select]
<div id="container" style="position:static; width:{width}px; height:{height}px; border:0px; background: url({media_src}) top left no-repeat; text-align:left;">
Kann man dort auch eine Grafik drüber legen?

Das geht das nicht so einfach oder?

Are then the background images indexed by google?

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Eine leere GIF-Datei über die Grafik legt.
« Reply #19 on: October 29, 2008, 04:29:01 PM »
Are then the background images indexed by google?

... no ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline External

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Eine leere GIF-Datei über die Grafik legt.
« Reply #20 on: October 29, 2008, 05:53:14 PM »
For no repeating background>

Code: [Select]
<table border="0" cellspacing="0" cellpadding="0" >
  <tr>
    <td style="{
background-repeat: no-repeat;
background-position: center;
background-image: url({media_src});
}" >
 <img src="{template_url}/images/spacer.gif" border="0" {width_height}><br>
   </td>
  </tr>
</table>

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: Eine leere GIF-Datei über die Grafik legt.
« Reply #21 on: October 29, 2008, 06:19:23 PM »
 
Code: [Select]
<table border="0" cellspacing="0" cellpadding="0" >
  <tr>
    <td style="
background-repeat: no-repeat;
background-position: center;
background-image: url({media_src});">
 <img src="{template_url}/images/spacer.gif" border="0" {width_height}><br>
   </td>
  </tr>
</table>

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Eine leere GIF-Datei über die Grafik legt.
« Reply #22 on: October 29, 2008, 08:34:36 PM »
... and if you are using ...
Code: [Select]
{width_height}
in
Code: [Select]
<img src="{template_url}/images/spacer.gif" border="0" {width_height}>

... you don't use ...
Code: [Select]
background-repeat: no-repeat;
background-position: center;

... because background can't repeat and is center ...  :wink:

Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline External

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Eine leere GIF-Datei über die Grafik legt.
« Reply #23 on: October 30, 2008, 02:43:37 PM »
Are then the background images indexed by google?

... no ...

Is there any solution for that...like make two divs - one in the background, one in foreground...so that the bacground image is being indexed?

Something with z-index?

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Eine leere GIF-Datei über die Grafik legt.
« Reply #24 on: October 30, 2008, 04:57:38 PM »
... if your images will be indexed by Google, then you don't need any protection of your images in your website ... ;)
... because everybody can download your images via url presented by Google ...
... so, either indexing or protection of your images ...  :!:
... only one solution is possible, something else makes no sense ...
... and now it's your turn ... ;)
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline External

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Eine leere GIF-Datei über die Grafik legt.
« Reply #25 on: November 02, 2008, 11:49:13 AM »
No, imagine this:

If you have protected images and people don't kow how to donload them, they will return more often to see them online

If you are indexed by google, you will get more traffic.

Both measures have the same effect: more visitors, aint it true?

Offline kubiczek

  • Full Member
  • ***
  • Posts: 211
    • View Profile
    • Gross Peterwitz
Re: Eine leere GIF-Datei über die Grafik legt.
« Reply #26 on: July 12, 2009, 02:23:58 PM »
hallo,

wollte anhand  des beispiels  http://www.4homepages.de/forum/index.php?topic=22350.msg121940#msg121940

den Pin Mod von KurtW  mit  der leeren grafik kombinieren,

hier der Code aus der Pin jpg.html
Code: [Select]
<!-- Template file for JPG Files -->
<!-- Start Mod: Pin images -->
<div id="container" style="position:static; width:{width}px; height:{height}px; border:0px; background: url({media_src}) top left no-repeat; text-align:left;">
<!-- END Mod: Pin images --></div>

und der  leere Grafik Code
Code: [Select]
<table border="0">
  <tr>
    <td background="{media_src}">
      <img src="{template_url}/images/spacer.gif border="0" alt="{image_name}"{width_height}>
    </td>
  </tr>
</table>


daraus habe ich folgendes gebastelt

Code: [Select]
<!-- Template file for JPG Files -->

<div id="container" style="position:absolute; z-index:0; width:{width2}px; height:{height2}px; border:0px; background: url({media_src}) top left no-repeat; text-align:left;">

</div>
<div style="position:relative; z-index:1; width:{width2}; height:{height2}">
<img src="{template_url}/images/spacer.gif" border="1" alt="{image_name}" width="{width2}" height="{height2}" />
</div>
<br />


aber es funktioniert nicht.  kann mir jemand dadrüber schauen?

gruß

Rembrandt

  • Guest
Re: Eine leere GIF-Datei über die Grafik legt.
« Reply #27 on: July 12, 2009, 02:42:40 PM »
Hi!
...

aber es funktioniert nicht.  kann mir jemand dadrüber schauen?
...
ich habe das in meine jpg.html reingeschrieben und funktioniert wunderbar:

<div style="margin: 0 auto;background-image:url({media_src});background-repeat:no-repeat; width:{width}px;height:{height}px">
<
img src="{template_url}/images/spacer.gif" style="border-style:none;" {width_height}   alt="{image_name}"><br>
</
div>


du mußt deinen zweiten div container wegmachen und das img in den ersten rein.

mfg Andi

Offline kubiczek

  • Full Member
  • ***
  • Posts: 211
    • View Profile
    • Gross Peterwitz
Re: Eine leere GIF-Datei über die Grafik legt.
« Reply #28 on: July 13, 2009, 07:46:27 PM »
hallo

wenn ich es bei mir einfüge, gehen garnichts,

nur das rein bild ist zu sehen, ohne jegliche pins. :cry:




Rembrandt

  • Guest
Re: Eine leere GIF-Datei über die Grafik legt.
« Reply #29 on: July 13, 2009, 08:00:42 PM »
^...wenn ich es bei mir einfüge, gehen garnichts,

nur das rein bild ist zu sehen, ohne jegliche pins. :cry:
was für pins??

dann wo hast du deine gif grafik abgespeichert, stimmt der pfad?

in deinem profil stimmt die webseite auch nicht.

mfg Andi