Directory of Gallery 1, Gallery 2 and Gallery 3 Powered Websites
Highest Rated Gallery Site
Featured Gallery Site
Partner Sites
- Business Web Directory
- Automotive Resources
- Dish Network Channels
- Dressale offers customers all the dresses they could want.
- Wholesale Directory on DHgate.com
- Quinceaneras Dresses
Show Username in Photo View
18 Jan 2008
Hello, and thanks for the great theme. I'm now finishing up a highly modified version for use on my site (due to launch officially around the end of this month).
I'm just having one problem.
The username shows up perfectly in the thumbnail gallery view. However, I'd like to have the photo owner's username appear with the actual photo in the photo view. How do I enable this? Thanks!



Not too difficult!
To achieve this it is fairly simple. Add the following where you want the owner to display in the photo.tpl file:
{* Start - Show Photographers Profile *}<div class="owner summary">
{g->text text="%s" arg1=$theme.item.owner.fullName|default:$theme.item.owner.userName}
</div>
{* End - Show Photographers Profile *}
Brilliant!
Worked like a charm. Thanks, mate! :-D
Album-level "show owner"... with a twist...
Hi again. I am almost DONE. One last thing.
The code you gave me before worked GREAT. I added a theme variable theme.inc file that returns the fully formatted CB link for each member in the photo view.
Now, I need to replicate this at the album level. This is tricker because there's the whole "canHaveChildren" differentiator. I want to also offer the CB link for each submitter thumbnail (that directly links to the actual photo item). I know how to enter the "child" conditionals. But, the problem is that g->core showOwner is used, as opposed to a regular link I can easily format.
What is the correct "direct" link for the owner at this level. I like the code you provided at the photo level because it is so clean, and something like that for the album level would be perfect.
Again, thank you so much for your help.