ZenphotoCMS Forum
ZenphotoPress: Zenphoto plugin for WordPress - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: ZenphotoPress: Zenphoto plugin for WordPress (/thread-1802.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14


ZenphotoPress: Zenphoto plugin for WordPress - wanderingfairy - 2009-04-14

Hi everyone. First I want to say thank you to Simbul for making such an easy to understand/use plug-in. Now for the issue I'm having. I've searched the forums but did not find anything so forgive me if I've missed it. The installation of the plug-in went perfectly and it's everything is working fine. My issue is with display aesthetics. Using the widget/badge, I would like to be able to display the four latest images in my sidebar as a 2x2 block instead of the 1x4 it is now. How would I go about making that change?




ZenphotoPress: Zenphoto plugin for WordPress - Simbul - 2009-04-15

It can be done with a little bit of css.
The widget is a list of elements inside a element. The element has classes .ZenphotoPress_badge and .ZenphotoPress_widget.

Supposing your thumbnails are 85x85 pixels, you could use something like this:

`

dl.ZenphotoPress_widget {

width: 200px;

}

dl.ZenphotoPress_widget dt {

float: left;

margin: 5px;

}

`

I can't guarantee the code will work for you. If you need to dig deeper, the key is the "float" CSS property




ZenphotoPress: Zenphoto plugin for WordPress - sirAndrew - 2009-05-05

Ok i'm yet another user which when pressing ZP inn tinyMCE gets a blank popup, which means ZenphotoPress can't fetch the albums. I'm running WordPress 2.7.1, Zenphoto version 1.2.4 [3716] (Official Build) and ZenphotoPress 1.5.3.

My error is:

ZenphotoPress Messages

INFO

PHP Version: 5.2.8

INFO

Current working directory: /home/content/m/e/n/mentalleak/html/blog/wp-content/plugins/zenphotopress/tinymce

INFO

POST:

INFO

GET: Array ( [tinyMCE] => 0 )

INFO

ZenphotoProxy method: cURL

INFO

ZenphotoProxy call: http://blog.leakycrayon.com/wp-content/plugins/zenphotopress/zenphoto_bridge.php?function=get_albums&admin_path=/home/content/m/e/n/mentalleak/html/photo/zp-core

and my proxy call result is:

a:2:{i:0;a:3:{s:5:"value";s:1:"1";s:4:"name";s:7:"Aleator";s:8:"parentid";N;}i:1;a:3:{s:5:"value";s:1:"2";s:4:"name";s:5:"Music";s:8:"parentid";N;}}

I'd really love if you could help me.

As i've read around the topic, there were 2 solutions. One was upgrading the zenphotopress plugin, but as you see i got all the latest version for WP, Zenphoto and zenphotopress, so that's out of the question.

The other solution was that the user had the zenphoto folder password-protected. What does that mean? Hosting Folder permissions? Some setting/feature in zenphoto? Could you please explain?

Thank you.




ZenphotoPress: Zenphoto plugin for WordPress - Simbul - 2009-05-08

I tried the link you posted and I received an error. I think this is not your problem, anyway.
Your proxy call result looks ok, by the way.

What do you mean by "blank popup"? The whole popup is empty or just the dropdown field?




ZenphotoPress: Zenphoto plugin for WordPress - sirAndrew - 2009-05-09

You received and error because i changed the path to zenphoto.

Just the dropdown field where the albums are supposed to be.




ZenphotoPress: Zenphoto plugin for WordPress - Simbul - 2009-05-10

Looks like a problem with cURL calls: this would explain why the proxy call returns the right data when you put the URL in the browser but ZPP is still not working.

Do you have any kind of restriction - on your server - on the calls you can make? Are Zenphoto and Wordpress on different servers?




ZenphotoPress: Zenphoto plugin for WordPress - sirAndrew - 2009-05-20

i changed my hosting and it works.

Now my problem is actually inserting a thumbnail in a post and not a link to the picture. But i'll prolly find out how on my own.




ZenphotoPress: Zenphoto plugin for WordPress - Simbul - 2009-05-21

Inserting a thumbnail should be the default behavior. It is configurable using the ZPP panel options, anyway.




ZenphotoPress: Zenphoto plugin for WordPress - Ipstenu - 2009-05-22

Okay, I love this plugin Works great. I can't figure out how to get dynamic albums to show up in the sidebar widget, though!

The album shows up on the dropdown, but nothing shows up on the page Am I missing the obvious?




ZenphotoPress: Zenphoto plugin for WordPress - Simbul - 2009-05-22

Dynamic albums are not officially supported - which is to say: the Zenphoto team throws in new features faster than I can manage them, these days

I never tested ZPP with dynamic albums, some weird behavior is to be expected. I'll try to put this in the next release cycle, but I have no estimates on when it'll be ready, at the moment.




ZenphotoPress: Zenphoto plugin for WordPress - acrylian - 2009-05-22

Well, dynamic albums were introduced with 1.1.5 over a year ago. Not really a brand new feature, isn't it?..:-) I just noticed that tinyZenpage, the TInyMCE plugin for Zenpage, also only roughly supports dynamic albums (at least showing the album thumb for inclusion). I will see to get that in there then you may be can take a look there.




ZenphotoPress: Zenphoto plugin for WordPress - Ipstenu - 2009-05-22

No worries! I thought I was missing a step in there I'm helping my friend set up a blog and while I like random pics from anywhere, she wanted the 'Finale Product' image of every folder set, and it made the most sense to try dynamics

Thank you for looking in on this.




ZenphotoPress: Zenphoto plugin for WordPress - Simbul - 2009-05-22

I didn't say it's brand new: I just said it's faster than I can manage (which is not fast, admittedly)

At least the Wordpress guys seem to have stopped developing, after 2.7.1...




ZenphotoPress: Zenphoto plugin for WordPress - acrylian - 2009-05-23

@Simbul: tinyZenpage now has full support for dynamic albums in the svn. Take a look at the function printImagesList() within /zp-core/plugins/tiny_mce/plugins/tinyzenpage/tinyzenpage-functions.php, especially around line 121. Should not be hard to adapt.




ZenphotoPress: Zenphoto plugin for WordPress - Simbul - 2009-05-23

Thanks. ZenphotoPress actually digs into the database, so it'll be a little harder than just using the Album and Image classes, but it doesn't look so difficult after all

On this topic, I've always felt a little uneasy working directly with the database: it is bad for encapsulation, it breaks across Zenphoto releases...
Is some sort of Zenphoto API being developed (or has it been developed without my knowledge), by any chance?




ZenphotoPress: Zenphoto plugin for WordPress - acrylian - 2009-05-23

Why don't you use the class methods directly like tinyZenpage does? These serve basically as our API. Take a look at tinyZenpage and feel free to take from there what you need as it is inspired by ZenphotoPress anyway (although our own code..:-)).




ZenphotoPress: Zenphoto plugin for WordPress - Simbul - 2009-05-23

The difference is in the environment: tinyZenpage runs as a Zenphoto plugin and thus has access to a lot of functions and facilities external apps like ZPP cannot access.
Last time I checked there wasn't any easy way of making the core classes available to ZPP without instancing more or less the entire Zenphoto... did something change in this respect?




ZenphotoPress: Zenphoto plugin for WordPress - sbillard - 2009-05-23

If you just want the basic capability, you can load functions.php. This leaves out all the template functions. Short of this, you will have to stick with MySQL.




ZenphotoPress: Zenphoto plugin for WordPress - acrylian - 2009-05-24

Actually tinyZenpage runs as a TinyMCE plugin that loads the zenphoto functions. I am not familiar with the ZenphotoPress setup in detail but I would think it should be possible to load the classes similar to the main tinyzenpage.php file does. Of coures that might match the term "instancing more or less the entire Zenphoto", but also might save some trouble with updates.




ZenphotoPress: Zenphoto plugin for WordPress - samantha0401 - 2009-07-18

I installed this plugin but when I go to the ZP button in a new post, I get a dialog box to select an album but there are no albums listed...

Any ideas?