This topic is locked

Opened picture on top.

11/20/2014 6:30:00 AM
PHPRunner General questions
M
mmponline author

When I click on a picture, it opens centered and in middle of the page. Good!

When I put the page in an Iframe (which I often do), the picture is centered and middle as it should, but one then have to scroll down to see the picture as it is now centered in the longer Iframe page.
Is there a way to change the lightbox settings so that the picture still displays centered on the page but at the top of the page. This should solve my issue.
See this page for eg of what I mean. Click on any of the images. http://robbies.co.za/newsite/en/oud-robbies.html

Sergey Kornilov admin 11/20/2014

Well, people say that you should not be using iframe in this case:

http://www.dynamicdrive.com/forums/archive/index.php/t-69763.html

M
mmponline author 11/21/2014

I'll try the solution in the post. I don't really have another option (that I know of) to display the phprunner project in a cms (in this case Joomla) page as there is no plugin or module to show it on the page or a position in the site.
The only option (that I've used from time to time) was to build a similar header and footer from the code derived on generated Joomla files to give the PHPRunner project a similar look as the site itself. This had some problems, though. The main issues were the css code of the CMS sometimes clashes with that of php runner and the second being that one have to update the cms and phprunner - thus double work.
I still hope (and maybe there is something out there that I don't know about) that can plugin the phprunner project in the Joomla CMS. Similar to how it is done with photo galleries and othe projects using there own database tables.

Sergey Kornilov admin 11/21/2014

I understand what you saying. Unfortunately both approaches (iframe and header/footer) have their flaws. You need to pick one that gets you closer and work on resolving outstanding issues.