Template – Image URL for full size?

[ad_1]

Hi – I am trying to build a gallery. I have a pod with a repeatable image field and a separate lightbox plugin, plus a plugin to add caption and description to media files.

The field for images is called “fotos”. Now, the output starts as follows:

<a href="https://projectdmc.org/support/topic/template-image-url-for-full-size/{@fotos._src.2048x2048}">

If I do so – the lightbox plugin will not pick up the caption from the image, if the image itself is bigger than 2048×2048 (at least one dimension). But it will pick up the caption, if the image is smaller (and thus a 2048×2048 version has never been rendered).

That led me to the assumption, I should leave out the 2048×2048 – and just link to @fotos._src

However, this will ALWAYS just display the thumbnail size of 150×150 ! What do I have to link to to get the ORIGINAL uploaded file in my lightbox?

Thanks!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer