![]() |
|
best url to view images from another site (eg. 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: best url to view images from another site (eg. wordpress) (/thread-10798.html) |
best url to view images from another site (eg. wordpress) - hkdigit - 2013-05-01
I don't want to switch to other photo gallery just for better WordPress integration. best url to view images from another site (eg. wordpress) - acrylian - 2013-05-01 You could switch to Zenpage instead Wordpress like we did some years ago, too..;-) Can't you try some RSS shortcode plugins (I am sure something like that exits, everything does) to use the rss feed for a workaround maybe? Of course zenphotopress could be rewritten but that is a major task. Given that I am for example not familiar with it at all that would take quite some time I am not willing to invest right now. Once we have the plugins the tickets are linked outside plugins like zenphotopress should be easier and saver to do. Still someone has to do them. best url to view images from another site (eg. wordpress) - Tammie - 2014-03-11 Not to unearth an old post, but... I've used zenphoto with wordpress for years - since 2006 or 2007. I also use a modified zenphotopress to easily embed images in my wordpress blog from Zenphoto. I recently got around to upgrading Zenphoto and much to my disappointment most of my links from wordpress back into zenphoto broke. [b]I understand the thinking behind the "security guard" but if links are coming in from the same domain, don't you think they should bypass the security checks?[/b] I like Zenphoto for managing photos, but prefer to use Wordpress for the cms portion of the site. Furthermore, I see that if I include the check code but provide a w the image fails to cache. It only works with s. Edit: I can help rewrite zenphotopress (or provide a link to a modified one, I'm not the dev for zenphotopress) if needed, but I still think that same domain requests should bypass the checks. best url to view images from another site (eg. wordpress) - Tammie - 2014-03-11 Ok, not the best, but here's a workaround for others like me who'd rather trade the security check for being able to view embedded images in your wordpress blog. Find line 159 in i.php best url to view images from another site (eg. wordpress) - sbillard - 2014-03-11 Really? Wouldn't it have been easier to just disable the security option? best url to view images from another site (eg. wordpress) - acrylian - 2014-03-11 The WP gallery still is a shadow of Zenphoto :-) You might understand that we focus on ZP as a standalone CMS and therefore have no resources to much cate how and if it works with other CMS. Of course WP is the most popular currently (And I use it myself occasionally) but… It was changed on Zenphoto's end because you technically could have flooeded a Zenphoto site with especially image processor requests otherwise. That could block a server completely and if you are on shared hosting (what most of our users probably are) you get some trouble for others and with your host as well. You probably should open a ticket for this dicussion. Generally the coming 1.4.6 release is in feature freeze. So our chief developer would have to decide any change. You can and should now use the various RSS feeds to access Zenphoto things from the outside. RSS feeds have some parameters as well. 1.4.6 will also have a special feed plugin named externalFeed that can "register" sites and is sometime probably to be extended to a kind of API. You can preview that on the 1.4.6 branch on GitHub. Zenphotopress' developer somewhere mentioned on http://www.zenphoto.org/support/topic.php?id=37589 that he has no time to work on it anymore so he probably would welcome someone taking over. So best try to contact him to make that officially. best url to view images from another site (eg. wordpress) - sbillard - 2014-03-11 How do you decide that you are on the "same domain"? Surely you do not believe everything a browser tells you. Domains (and ip addresses) are easily forged. If someone whats to target your site these will be minor inconveniences to get around. Besides which, it is not the domain of your WP site that gets passed, it is the visitor's credentials. The 1.4.6 release has a new plugin for just such a situation. It allows other sites to request Zenphoto objects. Of course it will take some coding. Quote:Furthermore, I see that if I include the check code but provide a w the image fails to cache. It only works with s. best url to view images from another site (eg. wordpress) - Tammie - 2014-03-13 Going forward I suppose I [i]should[/i] use the RSS feeds, but I have posts from my Wordpress blog dating back to 2006 - most of them with links to my Zenphoto gallery. I've already done a bunch of regex replacements as I restructured my albums by year as Zenphoto was lagging so much. I guess I need to assign thumbnails, but that is a different issue... I tried the security option, but for some reason it still didn't work? Maybe I didn't refresh enough. Anyways, when I tried to insert an image tonight using Zenphotopress, something was still awry, so I'm posting my fix here for anyone who cares. [b]zenphoto_bridge.php[/b]
I appreciate your tool, and I have been using it for at least 7 years. Thank you for a great product. best url to view images from another site (eg. wordpress) - acrylian - 2014-03-13 [i]I'm sorry if I offended you.[/i] I would suggest to contact simbul and maybe indeed take this over (on GitHub or elsewhere). It is always good if somene does who actually uses/needs it himself. |