Images missing when using include() function to integrate into my site

First off, Patrik, a commendation - nice work! I really like the simplicity and user-friendliness of phpAlbum.

Second, a question. I'm trying to integrate phpAlbum into my site and have a problem: when using include() the images do not show up. You can take a look here:

www.kitplanes2.com/album

I did it by editing main.php like this:

<?php
include ('album_header.php');
/****************************************/
/* (c) 2005 Patrik Jakab                */
/*    phpAlbum.net                      */
.
.
.
   
delete_old_anitspam();
}
include (
'album_footer.php');
?>

The album works fine on its own before this change.

Do you have any suggestions what else to modify?

Thanks in advance!

FotoJoep's picture

Do you have the locations of

Do you have the locations of the [ictures in the right folder?

---
Joep Meijer

Using phpAlbum on
fotos.vanjoep.nl

Joep, the images are in the

Joep, the images are in the correct directory.

If I remove the include() code: include ('album_header.php'); and include ('album_footer.php'); the album works correctly, but of course without being wrapped by my website.

Omar

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.