I have following the instructions for displaying a random image and making it clickable to show that image. This works great.
My gallery is integrated into my site via the php include method.
I want it to work so that when you click on the image it will display that image in the include page (basically it will display it within the page design like it does with the include)
I tried to set an if statement so that if the twg_random was set to 1 it would write an include like this:
../twg/index.php?twg_random=1
That does not work - I get errors.
On that page if the random is NOT set to 1 then this Include statement DOES work
include ("../twg/index.php");
Ideas?
Site link is:
#removed_broken_link
(photo gallery random link is to the right)