I know how to replace any image that cannot be found with a default image with the .htaccess file but I was wondering if it could be done when there is not URL.

For example if I have this:

<img src="" alt="Picture" />

It would not show up, I was wondering if I could make a image show up for this situation using the .htaccess file.

Thanks.

Not possible with .htaccess, but you could do it with Javascript/jQuery.

Ok ok, that's what I thought. Thanks!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.