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.
1) 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
2) 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?
3) 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
Comments
2. Not really, but if you are using Wordpress there are some 3rd party tools available.
Or use the built-in blog (news section) provided by the Zenpage CMS plugin.
3. Yes, please see the user guide.
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.
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.
Would the team be willing to take on the development work. As I said I'm willing to pay for this development.
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's`image.php` (even if you don't know php reading the theming tutorial helps to understand the basics of theme structure).
`
`
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)
I'll give it a go
Can a similar approach be made to the Album View of which has all the thumbnails? ie the embed code would have the code for all the images.
If you can point me in the right direct I can probably do this myself.
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.
<?php echo FULLWEBPATH.getImageThumb(); ?>
I get this as an example
http://spoilertv.co.uk/images/images/cache/castle/season-3/promotional-photos/Fringe-Episode-3.17-Promotional-Photos/123649_0410_pre_100_cw85_ch85_thumb.jpg
This image does not display, give mes an error.
However on the album view I see this as the Image Thumbnail which works
http://spoilertv.co.uk/images/cache/castle/season-3/promotional-photos/Fringe-Episode-3.17-Promotional-Photos/123649_0410_pre_100_cw85_ch85_thumb.jpg
What am I doing wrong?
2. 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 `
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/
Thank you so much for all your great help so far.
Very impressive.
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