Page 1 of 1

Playable Game Gallery/ Display Iframes in Popup boxes

Posted: 09 Oct 2016, 03:13
by 4voytek
Hello,

I would like to have images in my phoca gallery (i know this part) but on image clicked, i would like the pop up box display an iframe. Thus i would like to have thumbnails of images and then just iframe in the popup boxes. I know how to create iframes by using joomla sourcerer. I tried to put the iframes in the image description but i cannot make the description fully opaque and my iframe is transparent and i can see the photo behind it.

Could you suggest another way to do that or help me get rid of the transparency?

If you might ask, what do i need it for, the answer is: i want to have an image gallery of images of html5 games, and then on image click i want the iframe to be shown, i don't want to show the picture actually. Therefore i am trying to customise phoca gallery to have a gallery of images that fire a playable game in the popup box.

Please help out!

Re: Playable Game Gallery/ Display Iframes in Popup boxes

Posted: 11 Oct 2016, 11:40
by Jan
Hi, as default, you can display image in popup in iframe method:

https://www.phoca.cz/documents/50-phoca/ ... al-advices (8)

In iframe you can display the description and you can customize it per CSS.

So, in the iframe, detail window you can then display your own content, see:
components/com_phocagallery/views/detail/tmpl/default ... php

If you click on image, iframe with image will be displayed, if you modify the php file, you can display your content there.

Jan