vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=276549

add default alt name to IMG tag?
by kurti
06 Jan 2012 21:47

Hello,
i'm running vBulletin 3.7.4.

Is there a way to add a default alternativ name (alt) to every image that users
try to (externally) embedd in their forum posts?

The problem is if images don't load for some reason, the forum posts appear empty.

It would be less confusing if there was some default alt name attached to each image
like "[image]" or so that would appear if the image doesn't load.




---


And a related second problem:

On my (music) forum people often try to embedd images hosted by discogs.com.
But that website blocks their images from being externally embedded.
Which is extra confusing for people because for them the embedding seems to work
(because of their browsers cache) but nonone else (trying to view the image first
in the forum post) will see it.

This causes a lot of confusion and i'm getting tired of explaining this again
and again to users.

Is there a way to display some alt text or a different default image (with some explaining text)
whenever anyone tries to embedd an image from that specific website?

Example:
a typical img url from discogs.com looks like this:
http://s.dsimg.com/image/R-2037638-1260066944.jpeg
It only loads when viewed directly on their website:
http://www.discogs.com/viewimages?release=2037638


All times are GMT. The time now is 05:56.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.