Forums / Discussions / referencing some images of the storage

referencing some images of the storage

Author Message

walibda

Monday 08 November 2010 9:08:01 am

Hello all,

In my project ,I create a class that contains an attribute of type image. My problem is that , this attribute image is referenced by google, and it gives me the url of the image in the storage /var/monsite/storage/images/monsite/home/news.png.

Someone has an idea. ??

Best regards,

Gaetano Giunta

Monday 08 November 2010 10:17:05 am

What is the problem exactly?

Principal Consultant International Business
Member of the Community Project Board

walibda

Tuesday 09 November 2010 1:58:07 am

Thanks for your reponse,

some images in the storage has been referenced by google ,

In my template I have this code :

<span>{$node.data_map.image.content.photo_zoom.url|ezroot('no')}</span>

Result search in Google:

Mysite - ....

- 3 visites - 8 nov. - [ Traduire cette page ]

/var/mysite/storage/images/mysite/home/artcile1/1102-6-eng-GB/article_photo_zoom.png.

www.site.com/ - En cache

Best regards ,

Gaetano Giunta

Tuesday 09 November 2010 4:05:10 am

Is there any reason to put in your html the address of images in a SPAN tag?

It is quite normal that google indexes that: it indexes all it can!

Maybe you can wrap that url in a link tag with rel="nofollow"

Principal Consultant International Business
Member of the Community Project Board