using D6 with "image" module to create galleries
my theme has a 3 col layout normally, but I disallow the blocks in the right hand col when viewing a gallery using...
image
image/*
This works fine.
However, I also want to do the same with individual images. The individual image pages have an URL of this type "node/176". We are planning to have hundreds of images online, so disallowing blocks for each individual page is not on the cards.
So my question is: Can I disallow blocks using taxonomy, or by changing the ULR path for individual image pages (not galleries) so that images can be recognized automatically without an average user having to remember to do anything?
Or is there a completely diferent solution? Using CCK? (which I haven't investigated yet)
Comments
you can either give the
you can either give the images an alias (i.e. /pictures/176, or /pictures/this-is-the-title, etc) or you could use the pathauto module to do it automatically. Then you can use the pictures/* alias just like you already did with image/*. i don't use the image module, but i would have thought galleries would be aliased to 'gallery' not 'image'.
===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz
hi thanks
the individual alias is out of the question for the reasons I stated, but the pathauto module sounds interesting if a can use it to asign a particular path to certain content types.
That would be logical, but that is what they have put by default... it seems to be editable.
I guess I have to see if pathauto is compatible with image.
pathauto did it
Yes that worked a treat! Great module
excellent. it is a great
excellent. it is a great module-- i use it on every site.
===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz