@simbul. I made sure the wiki at http://www.zenphoto.org/trac/wiki/ZenphotoPlugins also reflects that it is a zenphoto plugin for wordpress as Tristan stated, and the text is verbatim from your site. i'm keeping an eye on any major changes by you and i'll keep the wiki up to date as required.
I disabled a previous version of Zenpress, upgraded from WP 2 to Wordpress 2.1, upgraded Zenphoto to latest (1.0.7), and everything works fine, except the Zenpress plugin.
I double-checked my base path info, my zenphoto path, no trailing slashes, and I also disabled every other plugin and this is the only one that breaks the TinyMCE, so I don't get the WYSIWYG buttons or ZenPress icon... I even copied the TinyMCE folder in the wp-includes/TinyMCE folder
@Simbul, As an FYI.. I am using your ZenPress on Seal (the singer)'s website. You can see it in action here at www.seal.com/blog
The photo cropping thing is still somewhat of an issue, so I am going to just go with a maximum width.. but we did end up with a weird (but rather cool) crop of the pic of the guy in front of the airplane.. Seal actually dug it.. so we kept it.
If you are a fan of Seal's music, he'd love to meet you if he is ever on tour in your town (he is a total gadget/technology freak!). I'll email you on your website.
This is a "me too" post: ZenPress 1.2.2 doesn't work with WordPress 2.1 and Zenphoto 1.0.7. There seems to be a problem with TinyMCE. I use IE7 and I haven't tried other browsers yet (sorry, I'm in a hurry...).
While I am not affected evidently by the TinyMCE editor issues above (mine is working OK on a ZP SVN Rev 363, WP 2.1, and Zenpress 1.2.2), I did notice a problem with the new mod_rewrite functionality. I was working on a completely unrelated thing last week that Tristan helped me solve, and it turns out that Zenpress suffers from the same issue.
is what is at issue. Note the $thumbpath line is what I have modified, removing the urlencode after the $zp_web_path variable. Tristan has a custom pathurlencode in his function arsenal, which solves the problem nicely for zenphoto. The problem is that the image thumbs don't display, and the URL for the thumb has a %20 in the division between albums.
I think what I did fixed it, but you might want to check it out on a mod_rewrite enabled subalbum version of zenphoto to see if you can replicate the problem. I don't know if just removing the urlencode in both places is sufficient for everyone's setup. You might want to take a peek at Tristan's pathurlencode and see if that's something you want to include (if it's OK with Tristan) in your code as well.
@thinkdreams: I'll check this one too. Just to be sure: do you mean the urlencode() on the album is causing trouble when the name of the album has a blank space in it? Understanding this would really help me when trying to replicate the issue.
@miriam: Well, it's clear the problem is a little worse than I thought. Anyone else experiencing it would be so kind as to tell me which browser they use?
@chazzzzy: I'm not a fan of him, but it's nice to know he's appreciating ZenPress. Thanks
Nope, it looked to be the `/` in between the albums that was being turned into a %20 character. spaces are generally turned into `+` characters using urlencode, at least based on what I read here:
Tristan suggested using the pathurlencode from zenphoto's core functions to handle it better in my previous application. Here's the function from his functions.php:
`// rawurlencode function that is path-safe (does not encode /)
I think it is an error in WordPress 2.1 because I have the same problem now with Subscribe 2.3.0 for WP2.1. Subscribe also adds a new icon to the editor...
A new version of WP has been released this morning: 2.1.1 and the editor is mentioned as one of the bugfixes in this new release. I'll give it a try later on. But now I have to do some REAL work (haha).
OK, I never used a photo plugin but I downloaded Zenpress 1.2.2 from the Wordpress site and installed it. It was one folder you FTP into the WP plugins folder.
Activated it and filled in the url and path. It worked fine. I'm running the latest WP 212.
One thing I didn't see was a link back to WordPress from Zenphoto. Maybe I'm missing something.
zenpress and lightbox together would not be necessary, as zenpress is specifically for inserting zenphoto images into wordpress posts. You would be better off with lightbox after the images are inserted into wordpress, and there are plenty of lightbox-ish variants for wordpress out there.
Yes, but it is very tedious to have to insert the rel="lightbox" tag into all the thumbnails inserted by zenpress manually. I was wondering if anyone knows how to make it so that zenpress automatically inserts that tag with the thumbnails, so you don't have to edit the html for each picture after it is inserted.
Comments
It looks a bit messy in that folder but at least the tinymce is working now.
I disabled a previous version of Zenpress, upgraded from WP 2 to Wordpress 2.1, upgraded Zenphoto to latest (1.0.7), and everything works fine, except the Zenpress plugin.
I double-checked my base path info, my zenphoto path, no trailing slashes, and I also disabled every other plugin and this is the only one that breaks the TinyMCE, so I don't get the WYSIWYG buttons or ZenPress icon... I even copied the TinyMCE folder in the wp-includes/TinyMCE folder
any ideas?
thanks
As an FYI.. I am using your ZenPress on Seal (the singer)'s website. You can see it in action here at www.seal.com/blog
The photo cropping thing is still somewhat of an issue, so I am going to just go with a maximum width.. but we did end up with a weird (but rather cool) crop of the pic of the guy in front of the airplane.. Seal actually dug it.. so we kept it.
If you are a fan of Seal's music, he'd love to meet you if he is ever on tour in your town (he is a total gadget/technology freak!). I'll email you on your website.
Thanks,
Charles
Groeten, Miriam
In the classes.php file, this section of code:
`
<?php ZenPressGUI::printPageIndex($imagesnum,$imgperpage,$curpage); ?>
<?php<br />
while ($image = @mysql_fetch_assoc($query)) {
if ($conf['mod_rewrite']) {
$thumbpath = $zp_web_path."/" . $album[url] . "/image/thumb/" . urlencode($image[url]);
} else {
$thumbpath = $zp_web_path."/zen/i.php?a=" . $album[url] . "&i=" . urlencode($image[url]) . "&s=thumb";
}
echo '';
}
?>
is what is at issue. Note the $thumbpath line is what I have modified, removing the urlencode after the $zp_web_path variable. Tristan has a custom pathurlencode in his function arsenal, which solves the problem nicely for zenphoto. The problem is that the image thumbs don't display, and the URL for the thumb has a %20 in the division between albums.
I think what I did fixed it, but you might want to check it out on a mod_rewrite enabled subalbum version of zenphoto to see if you can replicate the problem. I don't know if just removing the urlencode in both places is sufficient for everyone's setup. You might want to take a peek at Tristan's pathurlencode and see if that's something you want to include (if it's OK with Tristan) in your code as well.
@miriam: Well, it's clear the problem is a little worse than I thought. Anyone else experiencing it would be so kind as to tell me which browser they use?
@chazzzzy: I'm not a fan of him, but it's nice to know he's appreciating ZenPress. Thanks
http://us3.php.net/urlencode
Tristan suggested using the pathurlencode from zenphoto's core functions to handle it better in my previous application. Here's the function from his functions.php:
`// rawurlencode function that is path-safe (does not encode /)
function pathurlencode($path) {
return implode("/", array_map("rawurlencode", explode("/", $path)));
}`
This may work OK for you. I think Tristan would be OK with you using it.
Line: 2872
Char: 1
Error: syntax error
Code: 0
URL:htpp://www... .../wordpress/wp-admin/post-new.php
AND
Line: 44
Char: 2
Error: "realTinyMCE" is undefined
Code: 0
URL:htpp://www... .../wordpress/wp-admin/post-new.php
these errors show when go to Write a new post, after I activate the plugin.
A new version of WP has been released this morning: 2.1.1 and the editor is mentioned as one of the bugfixes in this new release. I'll give it a try later on. But now I have to do some REAL work (haha).
Groeten, Miriam
http://www.newwws.nl/zenphoto/foutwordpress.gif
gee, I have an extra wide screen
Groeten, Miriam
Hartelijke groeten, Miriam
I'm thinking going back to wordpress 2.0, what do you recommend?
Me happy
Cool to know Seal loves zenphoto
Activated it and filled in the url and path. It worked fine. I'm running the latest WP 212.
One thing I didn't see was a link back to WordPress from Zenphoto. Maybe I'm missing something.
knotty
By the way Zenphoto has the best sorting feature (drag and drop) bar none. Even huge galleries (g2) has a primitive and slow way of sorting photos.
knotty
you can integrate zenphoto into wordpress, it's not that hard.
Also, you can redirect a wordpress page to the zenphoto gallery, there's a plugin called redirectify
http://www.asymptomatic.net/wp-hacks
And the DBs don't have to be the same. I have Zenphoto and Wordpress running separate DBs entirely. It's better that way.
I am about to upgrade to Zenphoto 1.0.8.2. Does Zenpress work fine with the upgrade?
Thanks!
Charles
zenpress and lightbox together would not be necessary, as zenpress is specifically for inserting zenphoto images into wordpress posts. You would be better off with lightbox after the images are inserted into wordpress, and there are plenty of lightbox-ish variants for wordpress out there.