How to add alt tags in images?

nootkan
Ssr. Bludit
Posts: 22
Joined: Tue Feb 14, 2017 4:59 pm

Mon Oct 22, 2018 10:57 pm

Running version 1.5.2 and using the ![](http://www.example.com/image.jpg) markdown for images but everything I try to use for adding alt tags isn't working. Yet when I look at page source the empty alt tag is there. So how do I add an alt tag to an image in my posts.
User avatar
diego
Site Admin
Posts: 688
Joined: Sat May 16, 2015 2:53 pm
Contact:

Mon Oct 22, 2018 11:03 pm

Hi, take a look here to the guide of Markdown.

https://github.com/adam-p/markdown-here ... eet#images
nootkan
Ssr. Bludit
Posts: 22
Joined: Tue Feb 14, 2017 4:59 pm

Mon Oct 22, 2018 11:36 pm

Awesome thanks Diego. Is it possible to add an alt tag to the profile image also? I see no where to do this in admin.
User avatar
diego
Site Admin
Posts: 688
Joined: Sat May 16, 2015 2:53 pm
Contact:

Tue Oct 23, 2018 9:32 am

Is not possible from the admin panel, but you can do it in the theme.
This is a feature necessary ? or the alt could be the username or nickname ?
nootkan
Ssr. Bludit
Posts: 22
Joined: Tue Feb 14, 2017 4:59 pm

Mon Nov 19, 2018 9:56 am

Hi Diego, thanks again. To answer your question about the alt tag and if it is necessary, based on everything I've learned about seo it is necessary to have an alt tag for every image on the page to avoid penalties from google when trying to rank organically.
User avatar
Renaud
Ssr. Bludit
Posts: 21
Joined: Tue Feb 19, 2019 9:08 pm

Sat Mar 23, 2019 4:36 pm

Hello,
diego wrote:
Tue Oct 23, 2018 9:32 am
This is a feature necessary ?
Yes, this feature is more than necessary. Each image must have it's own "alt" text.
I need it too, it's not very cool to add it on the code of the pages.

It would be great if you code it. :)

Best regards,
Renaud.
User avatar
Renaud
Ssr. Bludit
Posts: 21
Joined: Tue Feb 19, 2019 9:08 pm

Sat Mar 23, 2019 4:40 pm

And we should be able to change the "alt" text for the cover image too.

It's very very very important for the SEO.
User avatar
SamBrishes
Sr. Bludit
Posts: 39
Joined: Tue Dec 25, 2018 8:07 pm
Location: Austria 'n' Germany
Contact:

Sat Mar 23, 2019 8:45 pm

Hellow,

+1 for additional / editable "alt" attributes on images and thumbanils / cover pictures. :D

Sincerely,
Sam
If you really like my projects and want to support me, I would be extremely grateful for a coffee! (Thanks to all Supporters):

Image
User avatar
bayerberg
Master Bludit
Posts: 99
Joined: Wed Jun 07, 2017 1:05 pm
Contact:

Sun Mar 24, 2019 2:35 pm

In my themes I'm using couple of easy tricks
for avatars

Code: Select all

echo'<img class="avatar" src="'.($page->user('profilePicture')?$page->user('profilePicture'):Theme::src('img/nouserimage.png')).'" height="40" width="40" alt="'.($page->user('nickname')).'">';
and for cover images

Code: Select all

echo'<img alt="'.$page->title().'" src="'.$page->coverImage().'" itemprop="url" class="really-scale-me" />';
solves some of SEO issues
bludit plugins and themes - makeitblu | I do things, check them out on behance | check out startups undiluted - london's startup ecosystem
User avatar
Renaud
Ssr. Bludit
Posts: 21
Joined: Tue Feb 19, 2019 9:08 pm

Sun Mar 24, 2019 7:50 pm

bayerberg wrote:
Sun Mar 24, 2019 2:35 pm
In my themes I'm using couple of easy tricks
Thank you.
But that's not enough.
A lot of people are using Google Images for their research. The alt tag is the only way to be sure that Google know what's on a picture. For me it's essential.
Post Reply