Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Display Alt Text/Title Below Image

Featured Replies

I've been working on my personal blog for quite a while now and have found one issue that needs to be resolved. I wish to add captions to image that I add to my blog posts. I'd like to use the alt tag to enclose the caption itself. How would i go about displaying an alt tag?

Thanks in advance guys!

 

What I currently have:

2iastqr.jpg

If I understand correctly you're looking for a title tag, not an alt tag? What are you powering the blog with, Wordpress?

  • Author

If I understand correctly you're looking for a title tag, not an alt tag? What are you powering the blog with, Wordpress?

 

I've created the site myself. It's not powered by any CMS. I used PHP to create it.. the tutorials you can find out there are useful! :D

How do I get it to display the title tag?

  • Author

If I understand correctly you're looking for a title tag, not an alt tag? What are you powering the blog with, Wordpress?

 

I've created the site myself. It's not powered by any CMS. I used PHP to create it.. the tutorials you can find out there are useful! :D

How do I get it to display the title tag?

I suspect you're going to have to use jQuery to do that as you're going to override/add to what the browser will do. Then again if you're pulling the information from a database then why not just store the title so you can retrieve that with the image?

  • Author

I suspect you're going to have to use jQuery to do that as you're going to override/add to what the browser will do. Then again if you're pulling the information from a database then why not just store the title so you can retrieve that with the image?

 

How would I go about adding/pulling that information from the database? I understand how to submit the data already for my posts, but if I want a different title for the image other than the title of the posts.. how would i go about doing that. Thanks anyway! :drinks:

  • Author

For those of you wondering how to go about displaying the image caption using jQuery... I found this post online about a plugin called jCaption here.

:drinks:

  • Author

difficult to say not knowing how your database is structured :)

 

You've been a great help Zed! :D

Cheers :drinks:

  • 2 weeks later...

I suppose you're going to have to use query to do that as you're going to override/add to what the browser will do. Then again if you're pulling the information from a database.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.