Question about captions of pictures

Travel Forums System Talk Question about captions of pictures

Page
  • 1
  • 2
Last Post
11. Posted by Peter (Admin 7040 posts) 3y Star this if you like it!

Hi Todd, I checked through the code in your blog entries, but didn't see any using the caption, so assuming there is still an issue?

I've uploaded a screengrab that shows where exactly the icon is to insert a photo with its caption

Insert photo with caption

Hopefully that helps. The code generated when you click on one of those icons should look something like this:

[img=https://photos.travellerspoint.com/648088/large_Crsito1.JPG caption=This is a title]

If you want to you can also type in that "caption=xxxx" part yourself or change it as you see fit.

Hope it helps.

[ Edit: Edited on 12-Dec-2018, at 15:22 by Peter ]

12. Posted by Kathrin_E (Travel Guru 680 posts) 3y Star this if you like it!

>If you want to you can also type in that "caption=xxxx" part yourself or change it as you see fit.

So the caption does not have to be the title/filename of the photo, but I can type into this code whichever text I like? Thanks for the hint Peter!

13. Posted by Peter (Admin 7040 posts) 3y Star this if you like it!

Quoting Kathrin_E

>If you want to you can also type in that "caption=xxxx" part yourself or change it as you see fit.

So the caption does not have to be the title/filename of the photo, but I can type into this code whichever text I like? Thanks for the hint Peter!

Yep, you can edit that as you see fit!

14. Posted by Kathrin_E (Travel Guru 680 posts) 3y Star this if you like it!

Cool, thank you!

15. Posted by ToonSarah (Travel Guru 1377 posts) 3y Star this if you like it!

Quoting Peter

Quoting Kathrin_E

>If you want to you can also type in that "caption=xxxx" part yourself or change it as you see fit.

So the caption does not have to be the title/filename of the photo, but I can type into this code whichever text I like? Thanks for the hint Peter!

Yep, you can edit that as you see fit!

Can you also format it? I like to caption in bold, so I always do that separately as a line of text in the main body of the blog, immediately below the code for the photo. Are there advantages to keeping the captioning within that code that I'm missing?

16. Posted by Peter (Admin 7040 posts) 3y Star this if you like it!

Quoting ToonSarah

Can you also format it?

Not within that code you can't. You could however style it so that all paragraphs with the class of ".caption" are formatted in bold. That would be done in your site CSS though. I think the way you're doing it is just fine. The main benefit of the caption attribute is to save having to enter that title twice.

17. Posted by ToonSarah (Travel Guru 1377 posts) 3y Star this if you like it!

Quoting Peter

Quoting ToonSarah

Can you also format it?

Not within that code you can't. You could however style it so that all paragraphs with the class of ".caption" are formatted in bold. That would be done in your site CSS though. I think the way you're doing it is just fine. The main benefit of the caption attribute is to save having to enter that title twice.

Thanks Peter. In that case I'll carry on as I was, as quite often I end up wanting a slightly different caption to the photo title anyway! For instance, I may not want to keep repeating the place name in my photo captions in the blog, but it's helpful to have it in the title if people are looking just at the photo in my gallery for instance.

18. Posted by greatgrandmaR (Travel Guru 2131 posts) 3y Star this if you like it!

I didn't think of putting the caption as a line under the photo as a way to format it - I did find out that I couldn't format a caption.

I figure that if I have the photo mapped, I don't need to have the place name in it, but what I might take out of the caption for a blog is the date I took it.

Page
  • 1
  • 2