You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#117410 Creating Popups for non visible images

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by hing on Wednesday, 22 October 2025 13:57 BST

hing

I have existing pages where size-reduced images are displayed, and a click on it displays the images in full size as new tab. Like this:

<a href="https://www.joomlacontenteditor.net/images/0161/image_fullll.png" target="_blank" rel="noopener noreferrer"> 
<img style="border-width: 5px; box-shadow: 0 0 10px 5px rgba(192,192,192,.75); margin: 5px 0px 5px 0px;" title="Zum Vergrössern klicken" src="https://www.joomlacontenteditor.net/images/0161/image_small.png" alt="Hier fehlt ein Bild!" />
</a>

Now I want to add Popups only for the full-sized images. The idea is to keep the small images as content of the webpage, but when a full image is opened a want to browse through the full images only. Is this simply possible?

Ryan

This is essentially what JCE MediaBox does, but for existing links, you will have to edit them to add the required class selector to trigger the popup, eg:

<a href="https://www.joomlacontenteditor.net/images/0161/image_fullll.png" target="_blank" rel="noopener noreferrer" class="jcepopup" data-mediabox-group="nature">

The class="jcepopup" marks this as a MediaBox popup, and the data-mediabox-group attribute groups similar popups on the same page together, so are show as a "gallery".

See - https://www.joomlacontenteditor.net/products/jce-mediabox

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

hing

I did it - thanks Ryan.

I just began to use the Popup very often, but I have to modify the existing pages too. And adding the small snippet works fine now.