New answers tagged

2

You can use structured data markup to specify which image you prefer as more meaningful to that webpage, so it is more likely to be used that image in SERP instead of the older one. For https://schema.org/WebPage you can specify it via https://schema.org/image or https://schema.org/primaryImageOfPage Consider this example that contains two images, the ...


1

RewriteRule portfolio portfolio.php RewriteRule reportage reportage.php Sorry, just realised what's going on... you need to be more specific in your rewrites. The above rules will rewrite the URL if "portfolio" (or "reportage") appear anywhere in the requested URL - this will catch your image URLs as well (since "portfolio" and "reportage" are part of ...


0

I changed name of my folders to not conflict RewriteRule 's Ex. Have reportageImages---> my .jpg here now its imagesR - name doesn't matter but it was in conflict someway with that RewriteRule: RewriteRule reportage reportage.php Now it works.


1

Actually, [http://example.com/image.jpg] is not correct. The correct way to insert an external image into a wikimedia page is http://example.com/image.jpg eg. no square brackets. Of course, make sure that you have added $wgAllowExternalImages = true to your configuration file to enable display of the image, as wikimedia defaults to not allowing externally ...


1

I've used data URI images on a site and I have found the following: Your data URI images are unlikely to be indexed in Google image search. When the images are lazy-loaded, it is pretty much impossible to get them indexed. When using the full image in the data URI, it substantially increases page size. This causes Googlebot to crawl your site much more ...


0

To add Alt Text to an image: Click the image. Click the Settings icon. Enter a description of the image under "What's in the image?" More via: https://www.wix.com/support/html5/article/images-and-seo


0

Adding Alt text to the images on your site provides users and search engines with information about your images and helps search engines "read" them. To add Alt Text to an image: 1) Click the image. 2) Click the Settings icon   3) Enter a description of the image under What's in the image? Tell Google. Note: This description provides visitors and search ...


1

The title is also used as alt. Note that both gallery image title and gallery image description are part of the image's schema (http://schema.org/ImageObject) which tells Google they are describing the image and are, at least, powerful as the alt text.


1

you can let your periods in file names without fear. If such file names would in general cause problems, so every file like http://www.example.com/mycrazyhotlinuxdistro.tar.gz wouldn't have a right to exist.


0

There are a large number of sms gateway providers who offer this service. Firstly there is no need to have a unique number for each user, you can have a single number that all members send images to and they simply have to register their mobile number with the application first so that any images sent in from their mobile number will automatically be ...


0

The Google terms specifically state that no form of cloaking is allowed and Google defines cloaking as serving anything different to Google than to the end users. If you are concerned about bandwidth that much then the only option would be to define a rule in your .htaccess file which returns a 403 forbidden header for the index page and each image in the ...


0

The error message you are getting is simply an informative message telling you that without the width and height attributes the page load may slow down while the whole image is downloaded to the browser cache to be displayed, but if the image in question is the same size (IE: not larger than the area you are wanting to display it in) then you wont have any ...


1

Thanks for clarifying your set-up. That is in fact not a "hashbang" - hashbang is the name given to URLs that use #! followed by some variables or state. Google actually had algorithms to process those URLs (see the Google Blog) however, that is now deprecated. For your set-up, I'd call it a "hash key", as usually the e25500fd is based on the contents of ...


1

What should I put in the alt tag for SEO? Why do you got this question? I mean, you deal here with pretty banal construction (image as data uri and regular image as fallback for noscript browsers), so it doesn't need any special solution. Use, as everybody uses, alt and title, fill them meaningful - those are the only best practices, both for SEO and for ...


1

What should I put in the alt tag for SEO? Anything? Nothing? Does Google even bother with data-uri images? Search engines define content as text. A website with just only images and values for the alt parameter will not rank well in search engines because there is no supplementary text to describe the image in detail. If you're trying to load images ...


1

You can batch process images with an image optimizer. So if you keep the same images names and overwrite the old version of your images, then you wouldn't have to change anything in your code. For example you can use tools like jpegoptim to optimize jpeg or optipng for png images. They can be executed in batch mode decreasing each image file size ...



Top 50 recent answers are included