hi, hope someone can enlighten me... I'm still in the customizing&learning process but i've triple checked all the options and threads and can't make it work: how comes that since I've created a top level album as a container for some already existing albums the images' thumbnails that were visible before, don't show anymore?
zenpage theme, album.php, example problem here: http://www.indirizzofantasma.net/zenphoto/numeri-civici/1/
no, not really. after a good sleeping night I've understood what happened: looks like I falled into a trap for dummies, or might be a bug?
I'm going to check it now, meanwhile here is what I've done:
tried to change the default square image thumb appearance and as I want (would really like to) have a natural miniature of my images -the same one I get from "news"- I thought I could change from my admin option > image > theme-options and I've un-checked the cut miniature option.
fact is that when I reverted to the default originally checked optios the thumbnails where gone - forever?
No, it is for sure not. Take a close look (Or the Zenpage theme's album.php):
http://www.zenphoto.org/news/theming-tutorial#album.php
thanks for pointing me to this (actually I've seen it before but still overwhelmed by too much info).
but what I meant with [i]unedited[/i] is that I didn't edit it -at least I can't remember I did it!- but the lack of the thumb call is a result of my admin action mentioned in my post above.
I point this just in case it could be of some use for some other user
btw, as this was my original will, how do I call the natural thumbnail instead of the square one?
getImageThumb() gets only the url of the default square cropped (as set on options) thumb. So either you echo it within an `element or you just useprintImageThumb()` to print it (which every standard theme does). It helps to look at the documentation as well.
For uncropped thumbs you need to use custom image functions (probably you wish to use the maxspace functions). Info on those on the functions documentation.
Sorry if you wish to change a theme you need to invest a little time to understand how it works.
thakyou again and you're right I should let myself more time to learn, problem is that for this project I have a close deadline...
however I've managed to do the most basic changes that I wished up to know, will refine things later, except for the custom thumbnail that I'll try to get asap.
I simply wished there was an easy call for it as I see exactly what I want in the combinews.
There is an easy call as there are several functions you can add to your theme and set the appropiate parameters to. The Zenpage theme for example uses those for the image.
We really cannot make everything options on the backend as then it will get really bloated. The real strenght of Zenphoto theming is that it gives the theme's developer greate freedom what to do how. Besides the basic structure there is no fixed one. You don't even need to use that basic index -> album > image structure and can do complete custom things if using the object model framework.
yes, that was easy enough indeed! After some little effort I succesfully made my image and album thumbs the way I wanted.
what happens now - after a general cache and database refresh - is that the getBareAlbumTitle() have turned out calling the [i]name[/i] instead of the [i]title[/i] as it was before.
this behaviour both in album.php and sidebar.php - maybe I should mention I'm dealing with dynamic albums.
At this stage I could go back and rename the few testing albums, or even recreate them, but I'm not sure why that happened and I don't want to manually rebuild everything when the website will be filled up...
here is an example http://www.indirizzofantasma.net/zenphoto/localita
what happened is basically that some titles lost the capitalization and some got the hyphen instead of space.
Any clue about what happened and/or how to solve the issue?
When Zenphoto discovers an image or album on the filesystem it uses the file/folder name as the title
If the file/folder name is used Zenphoto tries to clean that SEO friendly if the related plugin is enabled.
None of the functions you called clears database entries. That only happens if you change things on the file system.
sorry, I'm not getting the point, as I guess none of the cases applies:
1.talking about albums, not images (however my photos do have title in metadata and it's imported)
2.albums were not uploaded via ftp - actually are dynamic albums.
the dynamic albums where already there, showing titles not names.
after changing the thumbnails as above posts, I've noticed some browser hiccup in showing the thumbs so I cleared the cache and refreshed the database from the admin page.
at this point all the dynamic albums [i]titles[/i] turned to [i]names[/i]...
so, if I rename again my albums changing the title (or recreate them) will this switching title with name happen again if I purge cache and/or refresh the database?
edit: I can confirm that the problem does not occur with regular album title, only dynamic album title
FOr dynamic albums you need to set a specific title manually. Dynamic albums are just saved search queries technically. Purging cache and refreshing the database should not change the titles of anything (the latter of course will mirror changes to the filesystem to the database).
So if your dynamci album titles are cleared on db refresh that might be a bug. In that case please post a ticket on the bugtracker. I however cannot reproduce this with the current trunk nightly build.
yes title was set in 2 languages, both were lost and the name taken. however I'm also unable to reproduce the behaviour now... weird.
I'll come back to this thread if I have new founds about the issue and/or will post a ticket in the bugtracker in that case.
thanks again for your patient assistance.