• [MOD] Google-Maps Integration V.01 5 0 5 1
Currently:  

Author Topic: [MOD] Google-Maps Integration V.01  (Read 291158 times)

0 Members and 2 Guests are viewing this topic.

Offline darkcurves

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • KTM Railway Fan Club - Gallery
Re: [MOD-beta] Google-Maps Integration V.01
« Reply #120 on: March 10, 2009, 05:56:27 AM »
Could it be HTML mistake? Here is my detail.html:

Code: [Select]
{header}

{if gmap}
{gmap_java}
<body onload="load()" onunload="GUnload()">
{endif gmap}

<table width="990" border="0" cellspacing="0" cellpadding="0" align="center">

  <tr>

    <td>

      <table width="990" border="0" cellspacing="0" cellpadding="0" class="tablehead">
        <tr>
          <td width="60%"><div class="logo">{site_name}</div><div style="float:left; margin:12px 0px 0px 12px; padding-left:12px; border-left:2px solid #000000;"><img src="{template_url}/images/slogan.gif" align="left" /></div></td>
          <td width="40%" align="right" valign="top">
            <form method="post" action="{url_search}" style="padding:0px; margin:0px;">
              <table border="0" cellspacing="0" cellpadding="0" class="search" height="67">
                <tr>
                  <td style="padding-left:100px;" valign="top" width="237"><input type="text" name="search_keywords" size="15" class="searchinput" /></td>
                  <td valign="top" width="150"><input type="submit" value="{lang_search}" class="button_search" name="submit" /></td>
                </tr>
              </table>
            </form>
          </td>
        </tr>
      </table>

    </td>

  </tr>

  </tr>

  <tr>

    <td class="bordercolor">

      <table width="990" border="0" cellspacing="0" cellpadding="0">
        <tr><td class="tablebgcolor">

            <table width="970" border="0" cellspacing="0" cellpadding="0" class="navbar" height="41">
                <tr>
                  <td width="440" id="breadcrumb">&nbsp;&nbsp;&nbsp;&nbsp;{clickstream}</td>
                  <td width="530" align="right">
                    {ifnot lang_loggedin_msg}
                    <a href="{url_register}"><b>{lang_register}</b></a>&nbsp;&nbsp;&nbsp;
                    {endifnot lang_loggedin_msg}
                   
                    <a href="{url_search}"><b>{lang_advanced_search}</b></a>&nbsp;&nbsp;&nbsp;
                   
                    <a href="{url_top_images}"><b>{lang_top_images}</b></a>&nbsp;&nbsp;&nbsp;
                   
                    <a href="{url_all_images}"><b>{lang_all_images}</b></a>&nbsp;&nbsp;&nbsp;

                    <a href="{url_new_images}"><b>{lang_new_images}</b></a>&nbsp;&nbsp;&nbsp;
                  </td>
                </tr>
              </table>

            <table width="974" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="203" class="row2" valign="top" style="padding-top:10px;">
               
                <table width="203" border="0" cellspacing="0" cellpadding="0" align="center" class="reg_table" bgcolor="#FFFFFF">
                    <tr>
                      <td class="head2_reg" height="40">{lang_registered_user}</td>
                    </tr>
                    <tr>
                      <td align="center">{user_box}</td>
                    </tr>
                  </table><br />

  {if random_image}
                  <table width="204" border="0" cellspacing="0" cellpadding="0" align="center">
                    <tr>
                      <td class="head2" height="36">{lang_random_image}</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                    <tr>
                      <td align="center" class="row1">
    <br />
                        {random_image}
<br /><br />
                      </td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                  </table>
  {endif random_image}
                   
                 
                  </td>

                <td width="12" valign="top"><img src="{template_url}/images/spacer.gif" alt="" width="12" height="6" /></td>
               
               

                       
                 
                       
                       
                       
                <td width="759" valign="top" style="padding-top:10px;">
               

                       
                                         <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>       
                       
 
                       
                   
               

                  <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="0">

                    <tr>

                      <td>

                        <table width="100%" border="0" cellpadding="3" cellspacing="0">

                          <tr>

                            <td class="head1" 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>

                        </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" colspan="2">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 valign="top" colspan="2">EXIF Info</td>

                          </tr>

                          {exif_info}

                        </table>

                      </td>

                    </tr>

                  </table>

                  {endif exif_info}

{if rate_form}

                  <br />

<div align="center">{rate_form}</div>

                  {endif rate_form}
                 
                 
                                          <table width="100%">
                         <tr valign="top">
                         <td>
                      {if gmap}
                                <div align="center">
                                <div id="map" style="width: 600px; height: 400px"></div>
                                </div>
                      {endif gmap}
                         </tr>

                        </table>       

{if allow_comments}

<a name="comments"></a>
{if paging_stats}
<table width="100%" border="0" cellspacing="1" cellpadding="0" class="bordercolor">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="row1" valign="middle">
{paging_stats}
</td>
<td class="row1" valign="top" align="right">
{commentsperpage_dropdown_form}
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
{endif paging_stats}
{if paging}
<table width="100%" border="0" cellspacing="1" cellpadding="0" class="bordercolor">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="row1" valign="top">{paging}</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
{endif paging}

<a name="comments"></a>

<br />

                  <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">

                    <tr>

                      <td valign="top">

                        <table width="100%" border="0" cellpadding="3" cellspacing="0">

                          <tr>

                            <td class="head1">{lang_author}</td>

                            <td 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="0">

                    <tr>

                      <td>



                      </td>

                    </tr>

                  </table>

                  <p>&nbsp;</p>

                </td>

                <td width="20" valign="top"><img src="{template_url}/images/spacer.gif" width="19" height="19" alt="" /></td>

              </tr>

            </table>

          </td>
        </tr>
      </table>

    </td>

  </tr>

</table>

{footer}

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD-beta] Google-Maps Integration V.01
« Reply #121 on: March 10, 2009, 07:08:21 AM »
There should be a trailing slash right after the key?
Yes.

also make sure you don't have two <body> tags in header.html

onload="load()" onunload="GUnload()" must be added into your existing <body> tag.


Can I see your page where the map should appear?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline darkcurves

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • KTM Railway Fan Club - Gallery
Re: [MOD-beta] Google-Maps Integration V.01
« Reply #122 on: March 10, 2009, 07:19:17 AM »
I removed the body tag from details.html and added the onload="load()" onunload="GUnload()" to header.html body tag. Still the same, map wont appear in all three browsers.

The link to that page is:  http://gallery.keretapi.com/details.php?image_id=96

Thanks!  :)

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD-beta] Google-Maps Integration V.01
« Reply #123 on: March 10, 2009, 07:30:35 AM »
The mod is actually expect you to have <body> tag inside each "main" template and not in header.html

Try insert
Code: (template) [Select]
{if gmap}
{gmap_java}
{endif gmap}
into header.html above <body> and see if it works

Also, I think line
     "   map.setCenter(new GLatLng(" .$image_gmap_latitude"," .$image_gmap_longitude"), " .$image_gmap_zoom", " .$image_gmap_type2"); \n"

should be:
     "   map.setCenter(new GLatLng(\"" .$image_gmap_latitude"\",\"" .$image_gmap_longitude"\"), " .$image_gmap_zoom", " .$image_gmap_type2"); \n"


P.S.
It is always a good idea look into javascript console (in FF) to see if any errors there ;)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline darkcurves

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • KTM Railway Fan Club - Gallery
Re: [MOD-beta] Google-Maps Integration V.01
« Reply #124 on: March 10, 2009, 08:40:10 AM »
I did both above, still the same. Should i remove the body tag at header.html and insert in each main template?  :(

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD-beta] Google-Maps Integration V.01
« Reply #125 on: March 10, 2009, 08:48:15 AM »
My last code was wrong, the original is fine.
Right now the problem you have is :
1) you have two times in header.html:
Code: [Select]
{if gmap}
{gmap_java}
{endif gmap}

2) you have incorrect longitude and latitude values saved in the database (3°15'31.57"N / 101°33'17.80"E). These two values must be just numbers from -180 to 180 nothing else (minus sign also accepted)

[EDIT]
try use this instead:
3.258767 / 101.554946
« Last Edit: March 10, 2009, 08:59:20 AM by V@no »
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline darkcurves

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • KTM Railway Fan Club - Gallery
Re: [MOD-beta] Google-Maps Integration V.01
« Reply #126 on: March 10, 2009, 09:43:06 AM »
Thanks Vano, works great.   :D

Offline Fryz

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
    • Fryz' Media Galerie
Re: [MOD-beta] Google-Maps Integration V.01
« Reply #127 on: May 23, 2009, 04:33:50 PM »
Hallo Leute,

Seit kurzen bekomme ich, beim aufrufen der Google-Map, folgenden Fehlerhinweis:

Parse error: syntax error, unexpected $end in /var/www/web273/html/Galerie/includes/template.php(101) : eval()'d code on line 235

Leider kann ich selber keinen Fehler finden. Es wurde in letzter Zeit auch nichts an der template.php geändert... bis auf das Update zu 1.7.7.
Vielleicht hat ja jemand nen Tip ;-)
Ich sag schon mal Danke!

Hier ist meine template.php
Code: [Select]
<?php
/**************************************************************************
 *                                                                        *
 *    4images - A Web Based Image Gallery Management System               *
 *    ----------------------------------------------------------------    *
 *                                                                        *
 *             File: template.php                                         *
 *        Copyright: (C) 2002-2009 Jan Sorgalla                           *
 *            Email: jan@4homepages.de                                    *
 *              Web: http://www.4homepages.de                             *
 *    Scriptversion: 1.7.7                                                *
 *                                                                        *
 *    Never released without support from: Nicky (http://www.nicky.net)   *
 *                                                                        *
 **************************************************************************
 *                                                                        *
 *    Dieses Script ist KEINE Freeware. Bitte lesen Sie die Lizenz-       *
 *    bedingungen (Lizenz.txt) für weitere Informationen.                 *
 *    ---------------------------------------------------------------     *
 *    This script is NOT freeware! Please read the Copyright Notice       *
 *    (Licence.txt) for further information.                              *
 *                                                                        *
 *************************************************************************/
if (!defined('ROOT_PATH')) {
  die(
"Security violation");
}

class 
Template {

  var 
$no_error 0;
  var 
$val_cache = array();
  var 
$missing_val_cache = array();
  var 
$template_cache = array();
  var 
$template_path;
  var 
$template_extension "html";
  var 
$start "{";
  var 
$end "}";

  function 
Template($template_path "") {
    if (!@
is_dir($template_path)) {
      
$this->error("Couldn't open Template-Pack ".$template_path1);
    }
    
$this->template_path $template_path;
  }

  function 
register_vars($var_name$value "") {
    if (!
is_array($var_name)) {
      
$this->val_cache[$var_name] = $value;
    }
    else {
      
$this->val_cache array_merge($this->val_cache$var_name);
    }
  }

  function 
un_register_vars($var_list) {
    
$vars explode(","$var_list);
    foreach (
$vars as $val) {
      unset(
$this->val_cache[trim($val)]);
    }
  }

  function 
cache_templates($template_list) {
    
$template_list explode(","$template_list);
    foreach (
$template_list as $val) {
      
$val trim($val);
      if (!isset(
$this->template_cache[$val])) {
        
$this->get_template($val);
      }
    }
  }

  function 
get_template($template) {
    if (!isset(
$this->template_cache[$template])) {
      
$path $this->template_path."/".$template.".".$this->template_extension;
      
$line = @implode("", @file($path));
      if (empty(
$line)) {
        
$this->error("Couldn't open Template ".$path1);
      }

      if (
defined('EXEC_PHP_CODE') && EXEC_PHP_CODE == 0) {
        
$line preg_replace("/<[\?|%]+(php|=)?(.*)[\?|%]+>/siU"""$line);
        
$line preg_replace("/<script\s+language\s?=\s?[\"|']?php[\"|']?>
(.*)<\/script>/siU", "", $line);
      }

      $line = $this->compile_template($line);

      $this->template_cache[$template] = $line;
    }
    return $this->template_cache[$template];
  }

  function parse_template($template) {
    $template = $this->get_template($template);

    // Don't show error notices
    $old = error_reporting(E_ALL ^ E_NOTICE);

    extract($this->val_cache);
    ob_start();
    //echo $template;
    eval("?>".$template."<?php return 1;");

    
$str = ob_get_contents();
    ob_end_clean();

    // Reset error_reporting
    error_reporting(
$old);

    return 
$str;
  }

  function compile_template(
$template)
  {
    // Replace <?xml by printing them via php to avoid error messages when short_open_tags is on
    
$template = preg_replace('/<\?xml/i', "<?php echo '<?xml'?>
", $template);

    // Compile variables in PHP code
    preg_match_all(
        "/<[\?|%]+(php|=)?(.*)[\?|%]+>/siU",
        $template,
        $regs,
        PREG_SET_ORDER
    );

    for ($i = 0; isset($regs[$i]); $i++) {
      // Fix single quotes
      $parsed = preg_replace_callback(
        "/=\s*'(.*)".preg_quote($this->start)."([A-Z0-9_]+)".preg_quote($this->end)."(.*)';/Usi",
        array(&$this, '_fix_php_quotes'),
        $regs[$i][0]
      );

      $parsed = preg_replace_callback(
        '='.preg_quote($this->start).'([A-Z0-9_]+)'.preg_quote($this->end).'=Usi',
        array(&$this, '_compile_php_var'),
        $parsed
      );

      $template = str_replace($regs[$i][0], $parsed, $template);
    }

    // Compile variables
    $template = preg_replace_callback(
        '='.preg_quote($this->start).'([A-Z0-9_]+)'.preg_quote($this->end).'=Usi',
        array(&$this, '_compile_var'),
        $template
    );

    // Compile condition tags
    $template = preg_replace_callback(
        '='.preg_quote($this->start).'if(not?)?\s+([A-Z0-9_]+)'.preg_quote($this->end).'=Usi',
        array(&$this, '_compile_condition_start'),
        $template
    );

    $template = preg_replace_callback(
        '='.preg_quote($this->start).'endif(not?)?\s+([A-Z0-9_]+)'.preg_quote($this->end).'=Usi',
        array(&$this, '_compile_condition_end'),
        $template
    );

    return $template;
  }

  function _compile_php_var(&$matches) {
    return '{$' . trim($matches[1]) . '}';
  }

  function _fix_php_quotes(&$matches) {
    return '= "' . str_replace('"', '\\"', $matches[1])
           . $this->start.$matches[2].$this->end
           . str_replace('"', '\\"', $matches[3]) . '";';
  }

  function _compile_var(&$matches) {
    $name = trim($matches[1]);

    if (!isset($this->val_cache[$name])) {
        return $matches[0];
    }

    // Header and Footer are parsed in print_template()
    if ($name == 'header' || $name == 'footer') {
        return $matches[0];
    }

    return '<?php echo $' . $name . '?>';
  }

  function _compile_condition_start(&$matches) {
    $name = trim($matches[2]);

    if (!isset($this->val_cache[$name])) {
        return $matches[0];
    }

    if ($matches[1] == 'not' || $matches[1] == 'no') {
        return '<?php if (empty($' . $name . ') || $' . $name . ' === REPLACE_EMPTY){ ?>';
    }

    return '<?php if (!empty($' . $name . ') && $' . $name . ' !== REPLACE_EMPTY){ ?>';
  }

  function _compile_condition_end(&$matches) {
    $name = trim($matches[2]);

    if (!isset($this->val_cache[$name])) {
        return $matches[0];
    }

        return '<?php ?>';
  }

  function parse_array($array) {
    static $keys;

    foreach ($array as $key => $val) {
      if (is_array($val)) {
        $array[$key] = $this->parse_array($val);
      }
      else {
        if (!isset($keys) || count($keys) != count($this->val_cache)) {
          $keys = array_keys($this->val_cache);
          array_walk($keys, array(&$this, '_prepare_key'));
        }

        $array[$key] = str_replace($keys, $this->val_cache, $val);
      }
    }
    return $array;
  }

  function _prepare_key(&$item) {
    $item = $this->start.$item.$this->end;
  }

  function print_template($template) {
    if (strpos($template, $this->start.'header'.$this->end) !== false) {
      $header = $this->parse_template("header");
      $template = str_replace($this->start.'header'.$this->end, $header, $template);
    }

    if (strpos($template, $this->start.'footer'.$this->end) !== false) {
      $footer = $this->parse_template("footer");
      $template = str_replace($this->start.'footer'.$this->end, $footer, $template);
    }

    print $this->clean_template($template);
  }

  function clean_template($template) {
    $search_array = array(
      '='.preg_quote($this->start).'([A-Z0-9_]+)'.preg_quote($this->end).'=Usi',
      '='.preg_quote($this->start).'if(not?)?\s+([A-Z0-9_]+)'.preg_quote($this->end).'=Usi',
      '='.preg_quote($this->start).'endif(not?)?\s+([A-Z0-9_]+)'.preg_quote($this->end).'=Usi',
    );
    $replace_array = array(
      "",
      "",
      ""
    );
    $template = preg_replace($search_array, $replace_array, $template);

    return $template;
  }

  function error($errmsg, $halt = 0) {
    if (!$this->no_error) {
      global $user_info;
      //if (isset($user_info['user_level']) && $user_info['user_level'] == ADMIN){
        echo "<br /><font color='#FF0000'><b>Template Error</b></font>: ".$errmsg."<br />";
      /*} else {
        echo "<br /><font color='#FF0000'><b>An unexpected error occured. Please try again later.</b></font><br />";
      }*/
      if ($halt) {
        exit;
      }
    }
  }
} // end of class
?>



Rembrandt

  • Guest
Re: [MOD-beta] Google-Maps Integration V.01
« Reply #128 on: May 23, 2009, 05:03:51 PM »
Hi!

find den fehler jetzt nicht aber kopiere dir die zeilen 125-131 neu rein:
Quote
for ($i = 0; isset($regs[$i]); $i++) {
      // Fix single quotes
      $parsed = preg_replace_callback(
        "/=\s*'(.*)".preg_quote($this->start)."([A-Z0-9_]+)".preg_quote($this->end)."(.*)';/Usi",
        array(&$this, '_fix_php_quotes'),
        $regs[$i][0]
      );

dann sollte es funktionieren, ne.. is glaub ich auch nicht.
der fehler kommt wahrscheinlich auch nicht aus der templates.php

mfg Andi

Offline Fryz

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
    • Fryz' Media Galerie
Re: [MOD-beta] Google-Maps Integration V.01
« Reply #129 on: May 23, 2009, 05:14:37 PM »
Hi Andi,

vielen Dank für die schnelle Antwort. Aber, du hast recht... es hat nix geholfen. Immer noch der gleiche Fehler...

mfg Fryz

Offline bergblume

  • Sr. Member
  • ****
  • Posts: 463
  • on to the top!
    • View Profile
Re: [MOD-beta] Google-Maps Integration V.01
« Reply #130 on: June 16, 2009, 09:30:23 PM »
kann man in der googlemap, die ja in der detailbeschreibung von einem bild angezeigt wird, auch per marker andere bilder (die in dem kartenausschnitt liegen) angezeigt bekommen?

Rembrandt

  • Guest
Re: [MOD-beta] Google-Maps Integration V.01
« Reply #131 on: June 16, 2009, 09:50:05 PM »
Hi!
kann man in der googlemap, die ja in der detailbeschreibung von einem bild angezeigt wird, auch per marker andere bilder (die in dem kartenausschnitt liegen) angezeigt bekommen?
sollte das sein:
http://www.4homepages.de/forum/index.php?topic=21306.msg115934#msg115934

mfg Andi

Offline bergblume

  • Sr. Member
  • ****
  • Posts: 463
  • on to the top!
    • View Profile
Re: [MOD-beta] Google-Maps Integration V.01
« Reply #132 on: June 16, 2009, 10:37:46 PM »
hi andi,

nein nicht ganz das was ich meine.... diese photomap gibt es schon bei mir...
mir geht es eher darum auf der googlemap die z.B. hier auf dieser seite vom breitenberg ist, die zusätzlichen benachbarten marker zu sehen...

gruss, bergblume

Offline manica

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: [MOD-beta] Google-Maps Integration V.01
« Reply #133 on: August 18, 2009, 09:49:10 PM »
Wie bekomme ich es hin das die Daten automatisch beim upload eingetragen werden und die googlemap erscheint? Ansonsten habe ich ein großes leeres Feld. Bisher erscheinen die Koordinaten nur in den exif Feld wo ich sie rauskopieren muss um sie dann manuell im adminbereich einzufügen.

rinaldos

  • Guest
Re: [MOD-beta] Google-Maps Integration V.01
« Reply #134 on: August 19, 2009, 12:58:14 PM »
Die Daten werden doch auf der Detailseite automatisch aus dem Bild ausgelesen und dann dargestellt. Die Daten müssen in den EXIF Daten des Bildes drinnen sein.