PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Would I be able to use photopost in an iframe? (http://www.photopost.com/forum/photopost-pro-how-do-i/139197-would-i-able-use-photopost-iframe.html)

jdelasko February 9th, 2009 05:49 PM

Would I be able to use photopost in an iframe?
 
Would the lightbox work with the entire page, or just within the iframe? Could it be made to work with the entire page if the photopost app was contained in an iframe?

Chuck S February 9th, 2009 08:40 PM

Photopost works within an iframe. As far as lightbox thats a java script that loads a popup window which is independent of any frames.

jdelasko February 11th, 2009 08:33 AM

That doesn't answer the question, but nevermind.

The correct answer is NO.... the lightbox does not work with the entire page... it only works within the iframe. Yes the window still pops up but only the background of the iframe dims, not the entire page.

Chuck S February 11th, 2009 08:34 AM

How does it not answer the question? I have seen photopost in an iframe.

jdelasko February 11th, 2009 09:14 AM

The question was: :
"Would the lightbox work with the entire page, or just within the iframe?"


You may have answered the question, but not correctly. The lightbox javascript will only work within the iframe and not the entire page that contains the iframe. When a photo is displayed using the lightbox function within an iframe, only the background of the iframe is dimmed. The main page background remains unchanged.

Example: Lightbox Iframe Test - MajorLeagueTalk.com

jdelasko February 11th, 2009 09:16 AM

BTW.. I already own photopost. I just didn't feel like paying to ask this question in a support forum.

Chuck S February 11th, 2009 12:05 PM

Code:

Content visible to verified customers only.
Lightbox is not in a frame. Thats a java popup window and pops up in front of everything.

jdelasko February 11th, 2009 01:45 PM

Chuck,

When the application using the lightbox javascript is contained in an iframe on a parent page, it doesn't work normally. The window may pop up in front of everything, but that 'everything' does not fade to black like it would normally. If you visit the link I posted to the site where I use my existing photopost license, you would see what I mean.

I have a new application for photopost on a different site, but I would need to place the photo gallery in an iframe on a parent page. Clearly that does not produce the desired result when using lightbox integration.

I did some more digging and I found lytebox, which addresses this very problem. Lytebox - Home

Here's what they say about lytebox on that page:

iFrames: If you plan to use Lytebox in an iFrame environment, then you need to include lytebox.css in the parent document, while including lytebox.js in the iFrame document.

Before I bought a second photopost license, I was just hoping to get some insight as to whether or not photopost using the lightbox integration, could be made to behave properly.

jdelasko February 11th, 2009 02:33 PM

Chuck, I just broke down and renewed my member access for Photopost Support. You can move this thread to a more appropriate forum if you like and I'll catch up with it once the renewal kicks in.

Wow.... this turned into a $40 question :) I'm at 6.02 so I needed to upgrade anyway.

Chuck S February 11th, 2009 06:36 PM

You can try similarly what they suggest. For support on lightbox you can visit this page about there scripting. Yes you would want to upgrade if your at 6.02 ;)

Lightbox JS

jdelasko February 11th, 2009 06:53 PM

You can't just link to the css on the parent page. The javascript has to be modified too.

On another note, how long should it take for me to show up as a verified member?


All times are GMT -5. The time now is 01:38 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97