Hi,
I've just started to use Zenphoto and I'm very impressed so far, it's the best one I've come across
Anywhoo.. onto my questions.
Is it possible to totally disable comments across my whole gallery, albums and images? Currently I have to keep disabling them for each album etc
I would like to be able to add the thumbnails from an Album page onto my blog/site. Is this possible? I know I can cut and paste the code but is there a simple way to provide the embed code under an album and/or individual photo?
I'd like to grant upload privilages to a number of my staff. Does Zenphoto support the idea of Security Groups? or do I need to create each user separately and then assign the correct roles?
Thanks in advance for any help/advice
Thanks for getting back to me so quickly.
Do you think there will ever be the ability to provide the thumbnail embed codes as an option. We don't use wordpress and it would be a feature that would save us hrs of time in getting the raw html so that we can post onto our site.
I'm happy to pay for this development if it's not too much cost.
Well, it is already possible to do this right now but you will have to do changes your theme.
Look at the file comments on top of the file zp-core/i.php. That is the image processor for the sized images (see the troubleshooting about the difference between full images uploaded vs. cached thumbs/sized images and how image caching works). You can built code for this using the object model to generate the link.
You can of couse also link to the full image or the cached images. But you should use i.php for it because if the file has not already been cached there is of course no such file yet.
Thanks again, I'm afraid I'm not much of a programmer and I've never coded in php only javascript, so the file contents of i.php and the abilty to use it are a bit out of my league.
Would the team be willing to take on the development work. As I said I'm willing to pay for this development.
Sorry, my fault, i.php is not needed at all (That happens if you answer typing to fast inbetween).
If you really only want the normal thumb image as defined it is quite easy and requires no real development. Add this to your theme'simage.php (even if you don't know php reading the theming tutorial helps to understand the basics of theme structure).
`
[img][/img]
`
That is basic and lacks the img tag height and width setting. There are also normal template functions to get the default sized image or even custom sizes (all use i.php internally)
Thanks, I'm willing to give it a go
Is there a list/description anywhere of all the various variables/functions like
FULLWEBPATH.getImageThumb()
I'd like to have a look through them all as I'd need the ones for image link so the embed code I display will link back to the image page etc.
Sorry for all the questions, in addition to getting a list of the functions/variables etc. When I use
I get this as an example
This image does not display, give mes an error.
However on the album view I see this as the Image Thumbnail which works
What am I doing wrong?
You find the theming tutorial on our user guide sections. There is also a link to the separate function documentation. Look for the template-functions.php file there for the easy to use theme functions (most of the others are more or less for advanced usage).
You didn't do anything wrong. My fault actually. As the function already gets partly what the FULLWEBPATH constant does as well (this the doubled "images");
Quick change would be `[Image:
There is a function guide as part of the user guide (http://www.zenphoto.org/category/User-Guide/).
Am I correct in understanding that you wish to display thumb images, etc. from outside the scope of your web album? How you would do this would depend partly on the technology of the rest of your Website. But a start would be to look at the http://www.zenphoto.org/category/extensions/integration/
Ok, I'm getting there but I have an actual php question.
I've decided that I need to loop through the images to build up the embed code. I'm doing this by trying to append the link/image info to a string and then outputting that string.
However, php is not my first language and I can't quite seem to get the syntax right.
Here is my code
http://pastebin.com/ZM7i27GY