Back to top

Autore Topic: Immagine sito su link di Facebook  (Letto 1626 volte)

Offline Salvų

  • Appassionato
  • ***
  • Post: 387
  • Sesso: Maschio
    • Mostra profilo
Immagine sito su link di Facebook
« il: 31 Mar 2012, 12:37:54 »
Ciao a tutti,
ho un problemino. Pensavo di aver risolto ma ora il problema si č ripresentato.

Quando inserisco il link del mio sito su facebook www.bagheriabenecomune.org volevo che apparisse l'immagine del logo del sito.

Cosė ho inserito nel file index.php, contenuto all'interno della cartella templates, il seguente codice dentro <head>

Codice: [Seleziona]
<link rel="image_src" href="http://www.bagheriabenecomune.org/images/logo1.png"/>

e questo č tutto il file:

Codice: [Seleziona]

<?php


/****************************************************
#####################################################
##-------------------------------------------------##
##           CLASSIC DARK                          ##
##-------------------------------------------------##
## Copyright = globbersthemes.com- 2011            ##
## Date      = OCTOBRE 2011                        ##                     
## Author    = globbers                            ##
## Websites  = http://www.globbersthemes.com       ##
##                                                 ##
#####################################################
****************************************************/


// no direct access
defined('_JEXEC') or die('Restricted access');


?>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">


<head>
  <link rel="image_src" href="http://www.bagheriabenecomune.org/images/logo1.png"/>


    <jdoc:include type="head" />
    <?php JHTML::_('behavior.framework'true); 
    
$app                JFactory::getApplication();
    
$templateparams     $app->getTemplate(true)->params;
    
$csite_name    $app->getCfg('sitename');
    
?>

   
    <?php  #main width#
    
$mod_right $this->countModules'position-7' );
    if ( 
$mod_right ) { $width '';
    } else { 
$width '-full';}
    
?>

   
   
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/classicdark/css/tdefaut.css" type="text/css" media="all" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/classicdark/css/joomlastyle.css" type="text/css" media="all" />
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/scroll.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/jquery.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/modal.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/superfish.js"></script>
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/slideshow.js"></script>
<link rel="icon" type="image/gif" href="<?php echo $this->baseurl?>/templates/<?php echo $this->template?>/favicon.gif" />


 
   <script type="text/javascript">
        $().ready(function() {
        $('#dialog').jqm();
        });
    </script>
   
    <script type="text/javascript">               
        $(document).ready(function() {
        $(' .navigation ul  ').superfish({
          delay:       1000,                           
          animation:   {opacity:'show',height:'show'}, 
          speed:       'normal',                         
          autoArrows:  false,                           
          dropShadows: false                           
       });
       });
    </script>
     
     


</head>
<body>
    <div class="pagewidth"><div id="icon"> <jdoc:include type="modules" name="icon"   /><>
        <div id="sitename">
            <a href="index.php"><img src="templates/<?php echo $this->template ?>/images/logo.png" width="453" height="184" alt="logotype"/>[/url]
        <>
     
            <div id="newsflash">
                <div id="newsflash-content">
                    <jdoc:include type="modules" name="position-3" />
                <>
            <>
                <div id="topmenu">
                    <div class="navigation">
                        <jdoc:include type="modules" name="position-1" />
                    <>
                       
                <>
                    <div id="wrapper-main">
                        <div id="main<?php echo $width?>">
                            <div id="slide">
                                <div id="slideshow-w">
                                    <div id="slideshow">
                                        <img src="templates/<?php echo $this->template ?>/images/slide1.jpg" alt="image1" />
                                        <>
                                <>
                            <>
                            <script type="text/javascript" charset="utf-8">
                                $(document).ready(function(){
                                $("#slideshow").slideshow({
                                    pauseSeconds:5,
                                    height:230,
                                    fadeSpeed:0.5,
                                    width:619,
                                    caption: false
                               });
                           });
                           </script>
                           <div class="clr"><>
                                <div id="main-content<?php echo $width?>">
                                    <jdoc:include type="component" />
                                <>
                        <>
                            <?php if ($this->countModules('position-7')) { ?>
                                <div id="right">
                                    <jdoc:include type="modules" name="position-7" style="xhtml" />
                                <>
                            <?php ?>
                    <>
      <div id="nuovo"><jdoc:include type="modules" name="nuovo"   />
                                                        <>
                        <div id="ftb-f">
                            <div class="ftb">
                             <?php echo $csite_name?>&nbsp;&nbsp;<?php require("template.php"); ?>
                            <>
                        <div id="top">
                            <div class="top_button">
                                <a href="#" onclick="scrollToTop();return false;">
                                    <img src="templates/<?php echo $this->template ?>/images/top.png" width="30" height="30" alt="top" />[/url]
                            <>
                        <>
                           
                        <>           
    <>
 
  </body>
</html>

Prima tutto funzionava, ora invece non c'č nessuna immagine che appare su facebook!

Potete aiutarmi?  :'( :'( :'(

Offline Salvų

  • Appassionato
  • ***
  • Post: 387
  • Sesso: Maschio
    • Mostra profilo
Re:Immagine sito su link di Facebook
« Risposta #1 il: 01 Apr 2012, 10:44:13 »
Nessuno sa aiutarmi?  :'( :'( :'(

Offline peppe990

  • Appassionato
  • ***
  • Post: 342
  • Sesso: Maschio
  • I <3 Joomla
    • Mostra profilo
Re:Immagine sito su link di Facebook
« Risposta #2 il: 01 Apr 2012, 20:55:30 »
Ho provato a "linkare" il tuo sito su facebook e l'immagine viene mostrata. Probabilmente era un problema di facebook  :)

Offline Almara

  • Nuovo arrivato
  • *
  • Post: 3
    • Mostra profilo
Re:Immagine sito su link di Facebook
« Risposta #3 il: 29 Nov 2012, 19:14:15 »
salve,
io dovrei fare la stessa cosa, cioč fare in modo che un logo venga visualizzato quando posto il link del sito su facebook... solo che non saprei come fare!!! 
questa cosa del file index.php come funziona?  potreste darmi un'indirizzata pleeeease? ::)
grazie in anticipo!!!

 



Web Design Bolzano Kreatif