Hot answers tagged

35 votes
Accepted

HTTPS connection is "not safe" due to images

Your image tags must currently look like: <img src="http://example.com/images/image.jpg"> That http in there means that the image is NOT served securely. An attacker could change the image ...
user avatar
32 votes

How to prevent pictures from being downloaded by right-clicking on them or Inspecting the web page?

You can't prevent it, you can only stop people who don't understand coding. Generally it is done with Javascript which is easy to disable. Further, it is a trivial matter to take a screenshot of an ...
user avatar
  • 7,606
24 votes

How to prevent pictures from being downloaded by right-clicking on them or Inspecting the web page?

By definition, if a visitor can view an image, it has already been downloaded. That's how a web page works. You can however use a variety of tactics to make it more difficult to do so. As you've ...
user avatar
  • 426
20 votes

Correct image dimensions when using Schema.org's logo/image

Schema.org neither requires nor recommends specific image dimensions. For an ImageObject, you may specify the image’s height and width with the height and width properties. Consumers of the data would ...
user avatar
  • 21.5k
17 votes

Should company name in logo be an image or text?

As the text is part of the logo, I would keep it in the image (saves on trying to match any non-standard fonts and having to position it exactly like it is in the logo) - you can always put it in the ...
user avatar
  • 385
14 votes

How to change which image from website is shown in Google search result?

You can indicate to Google which image you'd like used for your property using Schema.org markup. Here's a quick company website example: <script type="application/ld+json"> {"@context" : "http:...
user avatar
  • 3,828
12 votes
Accepted

Blank image. What to use: Base64 vs 1x1 JPEG image

The base64 image option should be used where you would only have a very small number of images and you want to eliminate the network overhead of fetching a picture from the server. However from what ...
user avatar
12 votes

Why do some web pages bake images into their HTML?

There is a similar question on Stack Overflow. What you are seeing is referred to as a data URI scheme but some just call it a base64 encoded image. The main benefit can be page speed but there are ...
user avatar
  • 2,335
11 votes
Accepted

Lazy loading images and effects on SEO

I've never seen image lazy loading have any negative impact on web search rankings. Improving the perceived performance of your site for users can really help your rankings. When fewer people bounce ...
user avatar
11 votes

How do I tell blogger which image is the thumbnail to use in data:post.thumbnailUrl?

In fact, you can, but in a little hack way. As blogger considers the first image in a post as a thumbnail, and you want to add some other image as a thumbnail which should be not included in a post ...
user avatar
  • 111
11 votes

Specifying image dimensions to improve browser performance

Browsers download data in parallel and try to start rendering the page as soon as possible. If you do not specify the size, the browser has no idea how large the image is going to be until after the ...
user avatar
10 votes

Is my PageRank improved when someone else uses my images?

Not at all. A's PageRank is not improved. Links to website A (with <a> tag like <a href="http://www.asite.com"></a>) improve PageRank. Moreover, there is a bad thing for website A ...
user avatar
  • 10k
10 votes

Too many duplicate image alt attributes. What to do?

First of all, use better alt attributes. Seriously, "Cross" and "Checkmark" are horrible alt attributes. To see why, try viewing your page in a text-only browser. With your HTML as it is, you'll ...
user avatar
10 votes
Accepted

Schema.org BlogPosting and image required

Schema.org does not require any properties, so having a BlogPosting without an image property is totally fine. (And, other than omitting the property, there is no way to denote that you don’t have an ...
user avatar
  • 21.5k
10 votes

Can I take images directly from Google for my affiliate site?

No, unless you do a search with the correct license. When you do an image search, there is an option to select the license. Go to Images. Enter a search term. You should see a Tools button toward ...
user avatar
  • 2,153
9 votes

Should <meta property="og:image" content="..."> have an alt tag?

No, you do not need an alt attribute on that meta tag. In fact, it is not even allowed as others have already said. However, (today) Open Graph specifies and even suggests to provide the image alt ...
user avatar
  • 191
9 votes
Accepted

Is it OK to use same text for title and alt text for an image?

It is valid but highly not recommended, usually there is a structure you should follow to get the most of the SEO juice avaiable and it is : For the alternative text you want to show info for the ...
user avatar
  • 1,077
9 votes
Accepted

Should company name in logo be an image or text?

Google likes company alt attribute Both Google and Bing understand that a logo will often be repeated throughout in PNG, GIF and JPEG. Simply markup the logo using the alt description to inform ...
user avatar
  • 32.6k
9 votes

How to prevent pictures from being downloaded by right-clicking on them or Inspecting the web page?

One more trick to make it a little harder, which also works with Javascript disabled. Use CSS to position a transparent element over the image, so that right clicking it does not show the image-...
user avatar
  • 91
8 votes
Accepted

How do you hot link an external image from a Media Wiki site?

Your example [http://example.com/image.jpg] is correct. You will need to enable this by setting $wgAllowExternalImages to true in your configuration file. The default is false. Optionally, you can ...
user avatar
  • 32.5k
8 votes
Accepted

Apache 2.4 Loads Image Files Even Without Extension. Why?

This feature of Apache is known as "MultiViews" and it is handled by the content negotiation module: ...if /some/dir has MultiViews enabled, and /some/dir/foo does not exist, then the server reads ...
user avatar
8 votes
Accepted

Does using an img title attribute in addition to the alt attribute help image SEO?

There is no use of title for image in terms of SEO. It is only used for providing extra information for that image element. You can increase the SEO by adding ALT tag to your Images.
user avatar
  • 154
7 votes

Can we serve our sites images with an ad server and not have the images blocked by ad blockers?

The intelligence of the blocker is down to whatever extension or software the user is using. Some will simply block adsense, while others may be configured to read a white list, or black list ...
user avatar
  • 32.6k
7 votes
Accepted

How to change which image from website is shown in Google search result?

The issue you've cited is because Google is unable to determine which is your main image and that is why, it randomly pics an image on that page to show on the SERP result. It is also dependent on ...
user avatar
7 votes
Accepted

Does Facebook Need both og:image and og:image:secure_url for HTTPS only site?

As I understand it, if your site is 100% SSL (and everything redirects to HTTPS, so there is essentially no plain HTTP) then you only need the og:image tag in which you specify the https://... URL. ...
user avatar
  • 4,277
6 votes
Accepted

Is my PageRank improved when someone else uses my images?

Some black hatters believe it helps site authority and trust Technically speaking it is not classed as a direct backlink however many believe (mostly black hatters) that IMG embedding does improve ...
user avatar
  • 32.6k
6 votes
Accepted

Does Google index images in anything other than an img tag?

Google indexes images that are either: In an image tag -- <img src="foo.jpg"> The target of link -- <a href="foo.jpg"> If you want to remove an image from the page but still have it ...
user avatar
6 votes

Base64 encoded images and availability of their metadata for Googlebot

Google does not index data URI images for Google image search. Google's John Mueller says so here and in the comments below. Because data URI images are not indexed in Google image search, the EXIF ...
user avatar
6 votes

Do I need an XML sitemap for just a few images and videos?

As others have stated, a sitemap isn't necessary for such a small amount of content. If you really want to have one, then including everything on one sitemap is okay. Can you combine an XML Sitemap ...
user avatar
6 votes
Accepted

How do you avoid cumulative layout shift with responsively sized images?

I think the key part you are missing is height: auto; in the CSS. Earlier this year, all the major browsers made a change whereby they take the width and height defined in the HTML img tag as the ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible