PDA

View Full Version : Hiding 'Showimage' Number


Dan
11-08-2005, 07:35 PM
Hi,

I'm wondering if anyone out there knows about a hack or a method of hiding the 'showimage=X' image number? I'm trying to keep the URL to my site as clean possible...

So rather than showing:
http://genestho.ca/genestho/index.php?showimage=127

..my wish would be to show an URL like:
http://genestho.ca/genestho/index.php?showimage
OR
http://genestho.ca/genestho/

Thoughts, comments, suggestions?
Dan

www.genestho.ca

GeoS
11-08-2005, 07:37 PM
http://forum.pixelpost.org/showthread.php?t=2317

Dan
11-08-2005, 07:41 PM
Spectacular!!
Thanks.

Joe[y]
11-08-2005, 07:41 PM
why on earth would you just hide the number?! the number is what defines what image is shown! how would people go to a specific picture if you killed the id?

GeoS
11-08-2005, 07:44 PM
He wants to hide ?showimage= if I good understand.

Joe[y]
11-08-2005, 07:56 PM
"a method of hiding the 'showimage=X' image number?"

"..my wish would be to show an URL like:
http://genestho.ca/genestho/index.php?showimage"

that's not what i got. i was just curious how that would work really.

Dan
11-17-2005, 12:10 PM
What I was going for was a clean URL, but in reality there's a little more to it...

I tend to upload several photos to my site in a block. I then set each photo to post a day after the last post. The real issue is that I sometimes loose my interest in a particular photo, which I then delete.

The result: I get a non-sequential URL going from say, showimage=127 to showimage=129. I've had some non-photoblog friendly family & friends share with me their confusion with the navigation. They then look at the URL and get "lost". I try to explain to look at the dates instead, but to no avail.

Therefore: Doing some thinking about and tinkering with the URL might allow me to find a way to make this "issue" go away. Oh, unless I just disciplined myself to post one photo at a time, one that I was really committed about ;)

Thanks for all your energy around my question.

Connie
11-17-2005, 12:40 PM
you misunderstand the sense of an ID, it's not a sequential number system, it's just to identify the data in the database

so there will be no change in the system at all. All databases work with IDs. PP works with IDs.

If you do not want to show the IDs, modify the .htacess file to rewrite the URLs, you can do a search in the forum here for that