View Full Version : tiled thumbnail images as home page
eburn
10-30-2007, 12:48 PM
Hi,
Can someone please advise if it is possible to make my pixelpost homepage instead of images_template style (single image) to browse_template style (tiled thumbnails)?
I tried renaming browse_template to image_template, but this gives empty page apart from header content. I also tried editing index.php file reference from image_template to browse_template. This gave same result as above.
I want to show all pictures taken as opening screen when people visit my homepage at year end (temporarily).
Thanks.
jaywilliams
10-30-2007, 02:32 PM
The easiest way to do this, is to create an index.html file in the same folder where pixelpost is installed.
In the index.html file, add a META redirect to direct people to your browse page.
Like so:
<meta http-equiv="refresh" content="0;url=http://example.com/index.php?x=browse"/>
You can find out more on this site:
http://webdesign.about.com/od/metataglibraries/a/aa080300a.htm
eburn
10-31-2007, 02:19 PM
Jay,
Thanks for your response. Note that I tried your suggestion, but it did not do the trick. Probably I misunderstood.
I created index.html file with (personal) redirect and placed this file also where my index.php file is located. I guess here is where things go wrong.
If I type my homepage http://eburn.nl then I get my normal screen. Only if I type http://eburn.nl/index.html redirect works, but I would like people to be redirected from my homepage, since they have this one.
How best to resolve this?
Ruben.
Dennis
10-31-2007, 03:06 PM
Use .htaccess to redirect.
jaywilliams
11-02-2007, 04:36 AM
Ok, this can easily be fixed.
Create a file called .htaccess (yes that is a period at the beginning) in the same folder as the index.html file. (providing that the file doesn't already exits)
And put this text at the top and save it:
DirectoryIndex index.html index.htm index.php
This should solve the problem.
eburn
11-02-2007, 02:06 PM
Jay, Dennis,
Thanks, both your advise solved my problem!!
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.