View Single Post
Old 11-02-2015, 08:42 AM  
SeanLEE
Confirmed User
 
SeanLEE's Avatar
 
Join Date: Feb 2006
Location: Miami, FL
Posts: 1,556
Quote:
Originally Posted by sarettah View Post
I do believe that facebook is failing to see it because $fila[] does not exist as such. Again, just a guess.
Yes I didnt want to put the whole code..the file exist...

here is another snippet of code:

<?php if ($numero_imagenes>0) { ?>





<?php




foreach ($data->result_array() as $fila)
{



?>

<?php if (!empty($fila['imagen1']))

{

?>
<div class="d_al"><a href="<?php echo base_url()."upload/gallery.php?imagen=".$fila['imagen1']; ?>" rel="lightbox[gallery]" title="<?php echo $row->titulo; ?>" >
<img src="<?php echo base_url(); ?>upload/image.php?imagen=<?php echo $fila['imagen1']; ?>" border="0"><br>
Enlarge Picture</a></div>


<?php } ?>

when i put this line somewhere after this code it picks up the whole link:
<meta property="og:image" content="<?php echo base_url(); ?>upload/gallery.php?imagen=<?php echo $fila['imagen1']; ?>"/>

but i need it to pick it up earlier in the code in the header



I know confusing especially since Im not revealing all code and the such
__________________
I spammed in threads!
SeanLEE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote