Playable Game Gallery/ Display Iframes in Popup boxes

Phoca Gallery - image gallery extension
4voytek
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 08 Oct 2016, 20:07

Playable Game Gallery/ Display Iframes in Popup boxes

Post 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!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Playable Game Gallery/ Display Iframes in Popup boxes

Post 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
If you find Phoca extensions useful, please support the project
Post Reply