Just downloaded zenphoto, looks great!
I was wondering if anyone knows if you can create a vertical breadcrumb trail (rather than the horizontal one), by editing a theme? Had a look and seems breadcrumb items are in h2, but can’t see where the styling is that makes the heading inline.
Comments
`function printImageTitle($editable=false) {
global $_zp_current_image;
if ($editable && zp_loggedin()) {
echo "
htmlspecialchars(getImageTitle()) . "
echo "initEditableTitle('imageTitleEditable');";
} else {
echo htmlspecialchars(getImageTitle());
}
}`
`function getImageTitle() {
if(!in_context(ZP_IMAGE)) return false;
global $_zp_current_image;
return $_zp_current_image->getTitle();
}`
Is there any reason why it is there? Bit of a pain for upgrading and stuff. Wouldn't it be better if all styles were in the style sheet?
Semantically, yes, it would be better to place all styles in the stylesheet, but this is also the reason why the `getImageTitle()` function is provided.