Well this works since I don't upload pics I shoot myself. I just want to inform people of latest updates happening in the gallery.
Making the Sidebar too long is not a very elegant solution and neither makes sense. Suppose I need 10 thumbnails....with 50 px each height...I waste 500 px of sidebar in height.
Had it been 2 rows...I need just 100 px height with 5 thumbnails in each row. Lot less space and more images.
I'm sorry: how can you fit 5 thumbnails side-by-side in a sidebar? They would take at least 250px of horizontal space, and the default Wordpress sidebar is just 190px wide.
Moreover, the default thumbnail size in Zenpress is 100px, so it would actually be 500px.
Mind you: I'm not saying your arrangement doesn't make sense. It is just not possible to enforce it in a default Wordpress+Zenphoto configuration.
Why r u considering only default theme? Check geneliaonline.in for what I did. Nobody uses default wp theme. Most themes are flexible enough to give 200-300 px sidebar. And I just quoted an example.
An idea...probably you can give a option in your plugin from user - how many columns to fit photos in and it can fit thumbnails automatically acc to sidebar's width.
Hi,
I'm using wordpress 2.9 and zenphoto 1.2.8, and today's dev version of zenphotopress (I had the same results with older versions of wordpress and zenphoto).
Zenphotopress lists no album, even if there is an album that isn't password protected on the root of my gallery.
Here is the debug message :
Quote:ZenphotoPress Messages
INFO
PHP Version: 5.2.4-2ubuntu5.9
INFO
Current working directory: /var/www/myblog/wp-content/plugins/zenphotopress/tinymce
INFO
POST:
INFO
GET: Array ( [tinyMCE] => 1 [ver] => 327-1235 )
INFO
ZenphotoProxy method: cURL
INFO
ZenphotoProxy call: some-url
This URL returns some albums but the plugin displays nothing in the combobox.
Here is the result :
Quote:a:1:{i:378;a:4:{s:5:"value";s:3:"378";s:4:"name";s:9:"Argentina";s:8:"parentid";N;s:8:"children";a:6:{i:380;a:4:{s:5:"value";s:3:"380";s:4:"name";s:21:"2009-11-08_09 LLegada";s:8:"parentid";s:3:"378";s:8:"children";N;}i:382;a:4:{s:5:"value";s:3:"382";s:4:"name";s:36:"2009-11-09_12 Iguazu y las Missiones";s:8:"parentid";s:3:"378";s:8:"children";N;}i:379;a:4:{s:5:"value";s:3:"379";s:4:"name";s:25:"2009-11-13_19 El Noroeste";s:8:"parentid";s:3:"378";s:8:"children";N;}i:381;a:4:{s:5:"value";s:3:"381";s:4:"name";s:35:"2009-11-20_21 La PeniÂÂnsula Valdes";s:8:"parentid";s:3:"378";s:8:"children";N;}i:383;a:4:{s:5:"value";s:3:"383";s:4:"name";s:38:"2009-11-23_27 El Cafalate y El Chalten";s:8:"parentid";s:3:"378";s:8:"children";N;}i:384;a:4:{s:5:"value";s:3:"384";s:4:"name";s:26:"2009-11-27_29 Buenos Aires";s:8:"parentid";s:3:"378";s:8:"children";N;}}}}
Thanks for your help
It was difficult to spot, but after a lot of searching I found an inconsistency in your proxy call response (which is a PHP serialized nested array, btw): the name of the albums contains a certain number of characters, but the serialized array says otherwise.
Long story short: I think you have a character encoding problem. Is your gallery based on UTF-8?
Thanks for your post.
I also thought I had some encoding issues. So I tried unpublishing my albums and creating a single album with no special characters and one photo. The album is named Test and the photo 0001.jpg
here is what I get :
url :
http://mydomain/blog/wp-content/plugins/zenphotopress/zenphoto_bridge.php?function=get_nested_albums&data_path=/var/www/path/httpdocs/zp-data
Quote:a:1:{i:387;a:4:{s:5:"value";s:3:"387";s:4:"name";s:4:"Test";s:8:"parentid";N;s:8:"children";N;}}
I also tried to access it from another browser (in case of password protection).
Thanks again.
I just created a script to test the url with php curl on the server.
Here is the script :
Quote:
And here is what I get with the echo : (a 404 error)
Quote:Not Found
The requested URL /blog/wp-content/plugins/zenphotopress/zenphoto_bridge.php was not found on this server.
Apache/2.2.8 (Ubuntu) DAV/2 SVN/1.5.1 mod_jk/1.2.25 PHP/5.2.4-2ubuntu5.9 with Suhosin-Patch Server at mydomain.org Port 80
I get the same 404 page using lynx on the server.
I'm really lost. Why don't I get the same thing from the server and from an external computer ? VirtualHosts configuration maybe ?
Yep, definitely a VirtualHost problem.
When I do a wget or a curl from my server (with ssh), I get pages from my default virtualhost (witch is not the domain used by zenphoto or wordpress...).
I'll google that problem witch is not the plugin's problem.
Thanks for all anyway
Hi Simbul
Add me to the list. The proxy call can read all the albums from the database but the dropdown list is still empty. The gallery dir is not password protected and the encoding is fine (UTF-8). Do you have any idea how to debug this problem?
By the way I am using WP 2.9.1 and ZP 1.2.8.
Here is the ZPP proxy call messages:
INFO
PHP Version: 5.2.12
INFO
Current working directory: /xxx/xxx/xxx/xxx/somedomain.com/htdocs/wp-content/plugins/zenphotopress/tinymce
INFO
POST:
INFO
GET: Array ( [tinyMCE] => 1 [ver] => 327-1235-syntaxhighlighter2.3.6 )
INFO
ZenphotoProxy method: cURL
INFO
ZenphotoProxy call: http://somedomain.com/wp-content/plugins/zenphotopress/zenphoto_bridge.php?function=get_nested_albums&data_path=/xxx/xxx/xxx/xxx/somedomain.com/htdocs/gallery/zp-data
Yes, I am using ZPP 1.6.2. The output from the proxy:
a:19:{i:5;a:4:{s:5:"value";s:1:"5";s:4:"name";s:9:"amsterdam";s:8:"parentid";N;s:8:"children";N;}i:16;a:4:{s:5:"value";s:2:"16";s:4:"name";s:4:"bath";s:8:"parentid";N;s:8:"children";a:1:{i:37;a:4:{s:5:"value";s:2:"37";s:4:"name";s:6:"thumbs";s:8:"parentid";s:2:"16";s:8:"children";N;}}}i:6;a:4:{s:5:"value";s:1:"6";s:4:"name";s:8:"brighton";s:8:"parentid";N;s:8:"children";a:1:{i:24;a:4:{s:5:"value";s:2:"24";s:4:"name";s:6:"thumbs";s:8:"parentid";s:1:"6";s:8:"children";N;}}}i:18;a:4:{s:5:"value";s:2:"18";s:4:"name";s:14:"bruges-belgium";s:8:"parentid";N;s:8:"children";a:1:{i:33;a:4:{s:5:"value";s:2:"33";s:4:"name";s:6:"thumbs";s:8:"parentid";s:2:"18";s:8:"children";N;}}}i:15;a:4:{s:5:"value";s:2:"15";s:4:"name";s:18:"edinburgh-aberdeen";s:8:"parentid";N;s:8:"children";a:1:{i:36;a:4:{s:5:"value";s:2:"36";s:4:"name";s:6:"thumbs";s:8:"parentid";s:2:"15";s:8:"children";N;}}}i:13;a:4:{s:5:"value";s:2:"13";s:4:"name";s:8:"eid-2006";s:8:"parentid";N;s:8:"children";a:1:{i:31;a:4:{s:5:"value";s:2:"31";s:4:"name";s:6:"thumbs";s:8:"parentid";s:2:"13";s:8:"children";N;}}}i:3;a:4:{s:5:"value";s:1:"3";s:4:"name";s:8:"eid-2008";s:8:"parentid";N;s:8:"children";a:1:{i:21;a:4:{s:5:"value";s:2:"21";s:4:"name";s:6:"thumbs";s:8:"parentid";s:1:"3";s:8:"children";N;}}}i:8;a:4:{s:5:"value";s:1:"8";s:4:"name";s:8:"eid-2009";s:8:"parentid";N;s:8:"children";a:1:{i:26;a:4:{s:5:"value";s:2:"26";s:4:"name";s:6:"thumbs";s:8:"parentid";s:1:"8";s:8:"children";N;}}}i:19;a:4:{s:5:"value";s:2:"19";s:4:"name";s:13:"isle-of-wight";s:8:"parentid";N;s:8:"children";a:1:{i:35;a:4:{s:5:"value";s:2:"35";s:4:"name";s:6:"thumbs";s:8:"parentid";s:2:"19";s:8:"children";N;}}}i:9;a:4:{s:5:"value";s:1:"9";s:4:"name";s:7:"leaving";s:8:"parentid";N;s:8:"children";a:1:{i:27;a:4:{s:5:"value";s:2:"27";s:4:"name";s:6:"thumbs";s:8:"parentid";s:1:"9";s:8:"children";N;}}}i:14;a:4:{s:5:"value";s:2:"14";s:4:"name";s:20:"liverpool-manchester";s:8:"parentid";N;s:8:"children";a:1:{i:32;a:4:{s:5:"value";s:2:"32";s:4:"name";s:6:"thumbs";s:8:"parentid";s:2:"14";s:8:"children";N;}}}i:7;a:4:{s:5:"value";s:1:"7";s:4:"name";s:6:"london";s:8:"parentid";N;s:8:"children";a:1:{i:25;a:4:{s:5:"value";s:2:"25";s:4:"name";s:6:"thumbs";s:8:"parentid";s:1:"7";s:8:"children";N;}}}i:4;a:4:{s:5:"value";s:1:"4";s:4:"name";s:11:"lunch-glenn";s:8:"parentid";N;s:8:"children";a:1:{i:22;a:4:{s:5:"value";s:2:"22";s:4:"name";s:6:"thumbs";s:8:"parentid";s:1:"4";s:8:"children";N;}}}i:12;a:4:{s:5:"value";s:2:"12";s:4:"name";s:18:"open-house-burgess";s:8:"parentid";N;s:8:"children";a:1:{i:30;a:4:{s:5:"value";s:2:"30";s:4:"name";s:6:"thumbs";s:8:"parentid";s:2:"12";s:8:"children";N;}}}i:17;a:4:{s:5:"value";s:2:"17";s:4:"name";s:12:"paris-france";s:8:"parentid";N;s:8:"children";a:1:{i:34;a:4:{s:5:"value";s:2:"34";s:4:"name";s:6:"thumbs";s:8:"parentid";s:2:"17";s:8:"children";N;}}}i:10;a:4:{s:5:"value";s:2:"10";s:4:"name";s:20:"portsmouth-zen-sushi";s:8:"parentid";N;s:8:"children";a:1:{i:28;a:4:{s:5:"value";s:2:"28";s:4:"name";s:6:"thumbs";s:8:"parentid";s:2:"10";s:8:"children";N;}}}i:11;a:4:{s:5:"value";s:2:"11";s:4:"name";s:14:"riverside-park";s:8:"parentid";N;s:8:"children";a:1:{i:29;a:4:{s:5:"value";s:2:"29";s:4:"name";s:6:"thumbs";s:8:"parentid";s:2:"11";s:8:"children";N;}}}i:1;a:4:{s:5:"value";s:1:"1";s:4:"name";s:17:"Snowy Southampton";s:8:"parentid";N;s:8:"children";N;}i:2;a:4:{s:5:"value";s:1:"2";s:4:"name";s:20:"stonehenge-salisbury";s:8:"parentid";N;s:8:"children";a:1:{i:20;a:4:{s:5:"value";s:2:"20";s:4:"name";s:6:"thumbs";s:8:"parentid";s:1:"2";s:8:"children";N;}}}}
Thanks for your help.
Hello,
I installed zenphotopress, works great, but I whant to change the way it looks. Here, http://www.barrento.com/wordpress/?cat=1 we can see a black line under the image at the right in "random image". What part of the css code should I edit to remove the line under the widget? Any ideias? Thank you.