vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   BB Code Enhancements - Alt Image Attribute BB code - SEO Images (https://vborg.vbsupport.ru/showthread.php?t=186436)

roady89 07-25-2008 10:00 PM

Alt Image Attribute BB code - SEO Images
 
Alt Image Attribute BB code - SEO Images

I have been using this Alt image text BB code for a few months and it works pretty good to SEO images. This is my first MOD post so if this has been posted before or something is incorrect or done wrong please let me know. It is for hot linked images NOT image's posted as attachments. It should work with all versions of Vbulletin.


Title: Alt Attribute BB code


Tag: alt


Replacement:



Example:
HTML Code:

[alt=http://www.image-source.com/example-image.jpg]Alt Text[/alt]
NOTE: Does not work like this [alt]Alt text[/alt].


Description:
Alt Attribute for Images


Use {option}:Yes

Button Image: http://img224.imageshack.us/img224/9674/72419669ss4.png http://img224.imageshack.us/img224/9674/72419669ss4.png

When posting, type in the text you want as the Alt attribute, highlight the text, click the button and insert your image url into the window promt, hit OK

OR:
Click the button, insert your image URL into the window promt, hit OK and then the editor will be ready for you to fill in the Alt Image Attribute text.


Demo: Used Golf Carts Mouse over images to see alt image text.

Also a Linked Example:
HTML Code:

[url=http//www.example-site.com/][alt=http://www.image-source.com/example-image.jpg]Alt Text[/alt][/url]
Please click INSTALL if you use this BB code.


1.01: Added a Button Image.

AzzidReign 07-26-2008 06:14 PM

Thanks!! This would mainly be used by the admins I guess :P Members (well mine) really don't go above and beyond even if it's this easy. But I think this should come standard with the image bbcode when you click the icon, after you enter the url you should be prompt for alt txt.

roady89 07-26-2008 06:23 PM

Thank you. Ultimately, that is how I would like for it to be. Exactly the same way you described.

roady89 07-27-2008 04:25 AM

Updated to 1.01. Include a cheesy button. Alot easier to use with the addition of the button.

Bexter 07-27-2008 01:36 PM

:O I was looking for this just the other day :O

Thanks :D

Installed :)

Q-v-n-s-Q 07-28-2008 10:07 AM

yes, use tag for images is good for seo, ima use it for http://www.highrankforum.com/, thanks

roady89 08-12-2008 11:54 PM

Quote:

Originally Posted by AzzidReign (Post 1584781)
I think this should come standard with the image bbcode when you click the icon, after you enter the url you should be prompt for alt txt.

I was able to come up with a JavaScript code that will prompt for both image URL AND the image description. I am testing it now on my forum and it's working OK...one issue is with IE7. It blocks the prompt unless you allow it. Firefox works fine. I'm trying to incorporate the JavaScript code into vb's JavaScript but with minimal success.

delmarva 11-06-2008 02:09 AM

I agree.. Is there any way we can find a solution to all of these missing "alt" tags for hotlinked images to our sites? I think this is killing our SEO and according to my analytics, missing alt tags is not a good thing...:confused:

serhat_kk 04-12-2009 07:32 AM

Is there anyway to to this automatically. Like giving the thread title to images as an alt tag?

mhackl 10-20-2009 01:23 AM

Can this not be incorporated into the IMG tag?


All times are GMT. The time now is 07:09 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01130 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete