NO BUG: No image title displays on front end when show title checked

Browser: Chrome 110
OS: macOS / Windows / Linux / etc.
URL: Link to a page that illustrates this issue
Video: Short screen recording that illustrates this issue (free tool: jam.dev)

When “show title” is selected on a dynamic image in bricks, no title is displayed on the front end.

When caption is selected, a caption does display on the front end.

Is this a bug or am I missing something?



The IMG title attribute adds a tooltip with title text to the image when you hovering the mouse over. It’s not actual Title like Heading.

Thx

I need to display some form of title for the image. Would you know of a howto? I also need to have the caption below the image. I’ve tried a few of the custon css workarounds but they don’t work.

caption is absolute positioned:

you can move it below img like this:

Need to understand what you want to achieve in the end. Lots of options.

Ah - forgot to add the %% - the other workarounds didn’t have this. That works THX

What I’m trying to do is this. I have an archive of images from various photographers who edited their images in lightroom and added meta titles and descriptions. When uploading their images to WP, the WP media uploader is grabbing the titles and descriptions automatically. I need to find a way to show that title and description (caption) beneath each image on the front end.

I’ve figured out how to show the caption but not the title. I’ve had a look around bricks and I can’t find a way to do this.

I’ve tried a sloppy workaround using a cpt with a title & description field but this means a load of extra work inputting the information.

Hope that makes sense.

I’m afraid there is no easy way to do that, you’ll have to utilize wp_get_attachment_metadata() function and some custom code for these purposes.

Yeah, that’s what I was afraid of - I’m dyslexic so I’m trying to find as simplae a way as possible to avaoid getting bogged down in. functions and code.

I was thinking of something crude like addinga meta element in bricks and doing an echo on the title attribute <?php the_title_attribute($post->ID);?> Just need to get my head around how to do this in Bricks