Page 1 of 1

Using gallery not as main

Posted: 08 Oct 2009, 18:08
by rone
Hi,

I want to use the x2 gallery but not as my main index home page. How do I link the gallery to my gallery button on my website and does the gallery have to be online to be able to user or can I load it into something like dreamweaver and work with it?


Thank you,

Posted: 09 Oct 2009, 17:42
by rone
Come on...no one?

I really need the answer soon if possible.

Thank you,

Ron

Posted: 10 Oct 2009, 08:53
by carter2
I'd like to help but I'm not quite sure what you mean.
You want an Index page to load when people visit your site and from this page you want to link to your gallery, Is this correct?

Posted: 10 Oct 2009, 13:47
by rone
carter2 wrote:I'd like to help but I'm not quite sure what you mean.
You want an Index page to load when people visit your site and from this page you want to link to your gallery, Is this correct?

Yes sir, thats exactly what I'm trying to do and I know its as simple as linking it to the button but I want to make sure and see an example if possible of the html for it. I'm not to up on my html...i think I have to link it the index.php that the gallery uses maybe? but I would need to change the name of the index correct?


And is it ok to change the name of the uploads folder to anything I want or will that screw things up?


Thanks man I appreciate it. :)

Posted: 10 Oct 2009, 15:35
by carter2
This is my own index page with the css stripped out. I use a background that will fit any resolution and an invisible gif image as the link to the gallery. What you see below is very basic but should give you a start.
Code
<?xml version="1.0" encoding="UTF-8"?>

<!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" xml:lang="en" lang="en"> 

<head>
 <title>name of your page or site</title>
</head>

<body>
<div align="center">
<a href="/gallery"><img src="images/your_image.png" width="125" height="459" alt="Enter the flash gallery" title="Enter the flash gallery" border="0" /></a>

</div>
</body>
</html>
Yes, as far as I know it's ok to rename the uploads,

I hope this helps

Posted: 11 Oct 2009, 04:26
by rone
Thank you, Carter!

I do have an OT question if anyone else can answer. I uploaded my index.html file to my webspace but i have to type in the url+index.html

How can i get my site to go to just the URL without having to type in /index.html?

Posted: 11 Oct 2009, 04:56
by carter2
That's strange, unless your host has set things up wrong the index.html or .htm should be the first thing to load.

*edit*
Just had a thought. The index.html or .htm has to go outside the gallery directory.

Posted: 11 Oct 2009, 17:05
by rone
carter2 wrote:That's strange, unless your host has set things up wrong the index.html or .htm should be the first thing to load.

*edit*
Just had a thought. The index.html or .htm has to go outside the gallery directory.
My bad I had a space between the / and index.html

It resolves fine now. I really appreciate you taking the time to help. I have almost all squared away. :D


Take care,

Ron