Page 1 of 1

Imagevue Wordpress content integration

Posted: 02 May 2012, 13:36
by bocimayer
Hello,

I've been working on a site recently, that integrates IV into WP. This works fine. I was only wondering, if there were any means to make Wordpress's php search engine look into the textual data of images, and show the images and categories found in the search results list?

Thanx,

G

Re: Imagevue Wordpress content integration

Posted: 04 May 2012, 00:43
by mjau-mjau
You mean you integrated the SWF, or you use Imagevue to embed a html gallery into your Wordpress?

We actually have a half-made Wordpress plugin that creates a gallery in wordpress from Imagevue, that we had plans to extend later on. I am not quite sure of the search part though, because this has never been the focus of Imagevue, since it is a folder-based gallery that does not store data in database. This would be considered at later date perhaps, but right now unfortunately this is not available ...

Re: Imagevue Wordpress content integration

Posted: 15 May 2012, 10:09
by bocimayer
Hi,

Sorry, for the late reply, somehow I did not receive the notification, that you did answer, though I left the chk box clicked.

I used the swf file according to the default index.html embed scheme. (This is problematic, because it can not switch to the
HTML version for iPads, but this could be another thread.)

The website is of an art gallery, and they wish to have artist's pictures turning up, when someone uses the default search field of wordpress.
If you do not have a solution for this, I will have to build a plugin, that reads IV XML files, and creates items in WP's post table. (Obviously
with a solution for tracing changes in IV.)
If this happens, maybe you could use parts of the plugin yourselves for the official plugin.

G

Re: Imagevue Wordpress content integration

Posted: 17 May 2012, 09:23
by mjau-mjau
bocimayer wrote:I used the swf file according to the default index.html embed scheme. (This is problematic, because it can not switch to the
HTML version for iPads, but this could be another thread.)
Correct, because we cannot detect this in SWF, and where would we redirect anyway? You can add some redirection script, but its a bit hard for us documenting because we don't know the projet parameters.
bocimayer wrote:The website is of an art gallery, and they wish to have artist's pictures turning up, when someone uses the default search field of wordpress.
If you do not have a solution for this, I will have to build a plugin, that reads IV XML files, and creates items in WP's post table. (Obviously
with a solution for tracing changes in IV.)
If this happens, maybe you could use parts of the plugin yourselves for the official plugin.
Sorry, I am not quite sure what you mean "when someones uses the default search of wordpress" ... You want Wordpress to "search images"? Based on what data? This data would need to be stored in some database. Besides, after the search, are you just gonna display all related images inside the wordpress page? I don't get it ...

Re: Imagevue Wordpress content integration

Posted: 17 May 2012, 09:55
by bocimayer
Sorry, I am not quite sure what you mean "when someones uses the default search of wordpress" ... You want Wordpress to "search images"? Based on what data? This data would need to be stored in some database. Besides, after the search, are you just gonna display all related images inside the wordpress page? I don't get it ...
Sorry, maybe I was a bit too short.
Wordpress has a search field by default in the header area. If you write something in that and hit enter, you will get all items from WP's database, more precisely from the POSTS table (usually "wp_posts").
And you are right, there are two things to solve here:
1) things have to be stored in the POSTS database table, to be searchable by the WP script. To do this, we need the WP plugin to open the XML files of IV and create a special POST in the POSTS DB table according to the FILE items in the XML file. And we also need the WP plugin, to go back occasionally and check if there were changes in any of the XML files. (Best, if it is only done when something has changed in the XML file.)
2) once the search finds something, in the POSTS database table, the WP search listing has to show the file with a link in IV. For this, the plugin has to overwrite the links generated for the special posts created by the plugin in 1). This only requires the plugin to know the URL of the post where the IV is. So it will put the post url and the file together with a #, and we have a working link.

I hope, I was more precise now, and you get my concept.

Re: Imagevue Wordpress content integration

Posted: 20 May 2012, 03:44
by mjau-mjau
bocimayer wrote:1) things have to be stored in the POSTS database table, to be searchable by the WP script. To do this, we need the WP plugin to open the XML files of IV and create a special POST in the POSTS DB table according to the FILE items in the XML file. And we also need the WP plugin, to go back occasionally and check if there were changes in any of the XML files. (Best, if it is only done when something has changed in the XML file.)
This is technically possible, but it certainly is not any default part of Imagevue to "write" data a database, let alone to a WP database. If you feel you are up for the task, then go for it ... It must be a reasonable task though ...
bocimayer wrote:2) once the search finds something, in the POSTS database table, the WP search listing has to show the file with a link in IV. For this, the plugin has to overwrite the links generated for the special posts created by the plugin in 1). This only requires the plugin to know the URL of the post where the IV is. So it will put the post url and the file together with a #, and we have a working link.
Yes, this would need to be connected to the above of course, by filling the database with data from the images, made available for search. When the search is made, it returns related images, and creates an Imagevue-friendly link. I am not quite sure what you mean "the plugin has to overwrite the links generated for the special posts created by the plugin". However, this concept should be relatively easy if you have integrated the one above successfully.

Unfortunately, this is no part of current Imagevue ...

Re: Imagevue Wordpress content integration

Posted: 20 May 2012, 05:38
by bocimayer
Yes, I am aware, that it is not an Imagevue thing to do to write into a database. But it is a Wordpress plugin thing to do, to write into the database. I think, you got my concept. I am surprised, that no-one ever wanted to integrate Imagevue fully into Wordpress. Is it not in plan at all, for the Wordpress plugin you are planning to do, to solve issues like this? Thanx

Re: Imagevue Wordpress content integration

Posted: 20 May 2012, 12:24
by mjau-mjau
bocimayer wrote:I am surprised, that no-one ever wanted to integrate Imagevue fully into Wordpress. Is it not in plan at all, for the Wordpress plugin you are planning to do, to solve issues like this? Thanx
Although there are already many Wordpress gallery plugins, indeed we have wanted to make an Imagevue Wordpress plugin for some time. However, Imagevue is currently primarily a standalone full-screen SWF gallery - It doesnt fit nicely into Wordpress pages, and since it doesnt use database, then it doesnt link well with WP DP system either. Imagevue is hardly a practical tool for displaying "searched for" images from Wordpress.

The concept we had in mind, was a brand new Imagevue Wordpress plugin, where you can embed a full gallery (with subfolders), or single folders into any Wordpress page or post. It would not be SWF, but instead a PHP system that uses most of your WP themes design, and just pushes thumbnails and/or images into the page design with a flexible template/CSS system. From here, the next step would perhaps be to do something like you suggest, to make it work with search also. However, before we have a proper gallery-plugin like this, and since Imagevue is currently DB-less, then it would make no sense to proceed with a WP plugin just for to extract search.

Certainly want to do something like this though!

Re: Imagevue Wordpress content integration

Posted: 30 Jun 2012, 09:14
by dempan
hi,
on the contary i would like to have: a wordpress integration within imagevuex. (so i created only a very primitive news feed)

http://www.thomasdellert.com/iv/#/latest%20news/

because its already very well integrated in mobiles and i dont like the conversion. wordpress is only for announces and a facebook integration, and the gallery is the most important thing to look at.

gruß sebastian.

Re: Imagevue Wordpress content integration

Posted: 03 Jul 2012, 12:19
by Nick
It this the posts feed from wordpress? Maybe you could share the code with the forum?