![]() |
|
- 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: (/thread-12827.html) |
- Guest - 20-06-2026 Hi, I have a zen photo install on one site. Now I would like to keep it there but display it on another site. The site where I want to display it on is a posterous.com blog so that is why I cant just install zenphoto over there. This i not possible as its a hosted service. I wonder though if there is a way to embed a zen photo gallery somehow into a post while the zen photo gallery lies on another site. - acrylian - 22-04-2010 You probably could use an ugly iFrame to do so. But maybe getting proper webspace is the better option... - saundstu - 22-04-2010 Instead of an iframe: put this in the head section of the page you want to display content on: var rootdomain="http://"+window.location.hostname function ajaxinclude(url) { function writecontent(page_request){ then in the body section of the same page ajaxinclude("mypage.htm") Its a damn sight nicer than an iframe and you get the bonus of being able to style the incoming content... Hope that helps. Stu - acrylian - 22-04-2010 Most everything is nicer than an iFrame..;-) - saundstu - 22-04-2010 Oops. Forget what I said... It will only work if the content is all on the same domain... Still an elegant alternative to the dreaded iframe... |