Hi everyone,
When user uploads the photo to the gallery, thumbnail is generated.
I want the gallery to generate two thumbnails of different sizes. (basically, one big thumb is for preview inside the blog, and one small one is for navigating through the gallery)
Any ideas how to do that without _heavily_ hacking zenphoto source? What files should I look at?
Thanks!
Comments
If you use the Zenpage plugin that comes with a TinyMCE plugin named tinyZenpage that does the same.
Basically I want to show image of the custom size in the sidebar. Widget which comes with zenphotopress just shows the thumbnails - it is possible to specify the image size only for the popup inside the admin.
However, the problem is I can't get how to include it in wordpress.
Just requiring zp-core/template-functions.php doesn't work - zenphoto complains about database error
2) I solved the problem using @readfile directive. Which is rather dirty, but it does it's job.
3) It does explain it. However, it does not work. Database error (wrong user/password/host) is raised at some point (though it normally works). Like i've said, i'm not sure why, i suspect that mysql transaction management interferes with zenphoto's (just a random guess)
Other threads do not work as well. Wordpress plugins do not do what i want them to do - display custom sized thumbnail in the sidebar (they display standard sized thumb).