Skip to main content
Removed canonical link informations
Source Link
Hugo H
  • 213
  • 1
  • 7

I'm creating my own CMS, and I have to handle images with differentes sizes.

I store all my image's information in a database. For every image, I have:

  • a filename (with extension)
  • a title
  • an alt attribute
  • dimensions

Images can be used in different ways:

  • cropped
  • tiled
  • exact dimensions
  • only one dimension (for example: 200px height and auto width)

Right now, my URL to this images looks like this:

http://example.com/uploads/{id}/{mode}/{size_x}-{size_y}/{filename}.{ext}

A real example:

http://example.com/uploads/tile/24/200-200/my-picture.png
http://example.com/uploads/crop/24/200-200/my-picture.png

In my HTTP headers, I added a Link header, like Link:<http://example.com/tile/24/my-picture.png>; rel="canonical", which avoid duplicate content on images.

The URL is quite long. But I need all the informations provided in it.

Is it a problem for SEO? What are the solutions to optimize SEO for multiple-sized images?

Edit: removed canonical link informations

I'm creating my own CMS, and I have to handle images with differentes sizes.

I store all my image's information in a database. For every image, I have:

  • a filename (with extension)
  • a title
  • an alt attribute
  • dimensions

Images can be used in different ways:

  • cropped
  • tiled
  • exact dimensions
  • only one dimension (for example: 200px height and auto width)

Right now, my URL to this images looks like this:

http://example.com/uploads/{id}/{mode}/{size_x}-{size_y}/{filename}.{ext}

A real example:

http://example.com/uploads/tile/24/200-200/my-picture.png
http://example.com/uploads/crop/24/200-200/my-picture.png

In my HTTP headers, I added a Link header, like Link:<http://example.com/tile/24/my-picture.png>; rel="canonical", which avoid duplicate content on images.

The URL is quite long. But I need all the informations provided in it.

Is it a problem for SEO? What are the solutions to optimize SEO for multiple-sized images?

I'm creating my own CMS, and I have to handle images with differentes sizes.

I store all my image's information in a database. For every image, I have:

  • a filename (with extension)
  • a title
  • an alt attribute
  • dimensions

Images can be used in different ways:

  • cropped
  • tiled
  • exact dimensions
  • only one dimension (for example: 200px height and auto width)

Right now, my URL to this images looks like this:

http://example.com/uploads/{id}/{mode}/{size_x}-{size_y}/{filename}.{ext}

A real example:

http://example.com/uploads/tile/24/200-200/my-picture.png
http://example.com/uploads/crop/24/200-200/my-picture.png

The URL is quite long. But I need all the informations provided in it.

Is it a problem for SEO? What are the solutions to optimize SEO for multiple-sized images?

Edit: removed canonical link informations

Tweeted twitter.com/#!/StackWebmasters/status/499002844130082816
example domain; formatted
Source Link
unor
  • 21.9k
  • 3
  • 47
  • 118

I'm creating my own CMS, and I have to handle images with differentes sizes.

I store all my image's informationsinformation in a database. For every image, I have  :

  • Aa filename (with extension),
  • Aa title,
  • Anan alt attribute
  • Dimensions.dimensions

Images can be used in different ways  :

  • Croppedcropped
  • Tiledtiled
  • Exactexact dimensions
  • Onlyonly one dimension (for example  : 200px height and auto width)

Right now, my URL to this images looks like this  :

http://mysite.com/uploads/{id}/{mode}/{size_x}-{size_y}/{filename}.{ext}

http://example.com/uploads/{id}/{mode}/{size_x}-{size_y}/{filename}.{ext}

A real example  :

http://mysite.com/uploads/tile/24/200-200/my-picture.png http://mysite.com/uploads/crop/24/200-200/my-picture.png

http://example.com/uploads/tile/24/200-200/my-picture.png
http://example.com/uploads/crop/24/200-200/my-picture.png

In my httpHTTP headers, I added a Link header, like Link:<http://mysiteexample.com/tile/24/my-picture.png>; rel="canonical", which avoid duplicate content on images.

The URL is quite long. But I need all the informations provided in it.

Is it a problem for SEO  ? What are the solutions to optimize SEO for multiple-sized images  ?

I'm creating my own CMS, and I have to handle images with differentes sizes.

I store all my image's informations in a database. For every image, I have  :

  • A filename (with extension),
  • A title,
  • An alt attribute
  • Dimensions.

Images can be used in different ways  :

  • Cropped
  • Tiled
  • Exact dimensions
  • Only one dimension (for example  : 200px height and auto width)

Right now, my URL to this images looks like this  :

http://mysite.com/uploads/{id}/{mode}/{size_x}-{size_y}/{filename}.{ext}

A real example  :

http://mysite.com/uploads/tile/24/200-200/my-picture.png http://mysite.com/uploads/crop/24/200-200/my-picture.png

In my http headers, I added a Link header, like Link:<http://mysite.com/tile/24/my-picture.png>; rel="canonical", which avoid duplicate content on images.

The URL is quite long. But I need all the informations provided in it.

Is it a problem for SEO  ? What are the solutions to optimize SEO for multiple-sized images  ?

I'm creating my own CMS, and I have to handle images with differentes sizes.

I store all my image's information in a database. For every image, I have:

  • a filename (with extension)
  • a title
  • an alt attribute
  • dimensions

Images can be used in different ways:

  • cropped
  • tiled
  • exact dimensions
  • only one dimension (for example: 200px height and auto width)

Right now, my URL to this images looks like this:

http://example.com/uploads/{id}/{mode}/{size_x}-{size_y}/{filename}.{ext}

A real example:

http://example.com/uploads/tile/24/200-200/my-picture.png
http://example.com/uploads/crop/24/200-200/my-picture.png

In my HTTP headers, I added a Link header, like Link:<http://example.com/tile/24/my-picture.png>; rel="canonical", which avoid duplicate content on images.

The URL is quite long. But I need all the informations provided in it.

Is it a problem for SEO? What are the solutions to optimize SEO for multiple-sized images?

Source Link
Hugo H
  • 213
  • 1
  • 7

How to handle different images size and URL with SEO

I'm creating my own CMS, and I have to handle images with differentes sizes.

I store all my image's informations in a database. For every image, I have :

  • A filename (with extension),
  • A title,
  • An alt attribute
  • Dimensions.

Images can be used in different ways :

  • Cropped
  • Tiled
  • Exact dimensions
  • Only one dimension (for example : 200px height and auto width)

Right now, my URL to this images looks like this :

http://mysite.com/uploads/{id}/{mode}/{size_x}-{size_y}/{filename}.{ext}

A real example :

http://mysite.com/uploads/tile/24/200-200/my-picture.png http://mysite.com/uploads/crop/24/200-200/my-picture.png

In my http headers, I added a Link header, like Link:<http://mysite.com/tile/24/my-picture.png>; rel="canonical", which avoid duplicate content on images.

The URL is quite long. But I need all the informations provided in it.

Is it a problem for SEO ? What are the solutions to optimize SEO for multiple-sized images ?