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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 02:19:11
Script start
Timing: Jan 18 2025 02:19:11
Module start 'layout'
Timing: Jan 18 2025 02:19:11
Module start 'content'
Timing: Jan 18 2025 02:19:12
Module end 'content'
Timing: Jan 18 2025 02:19:12
Script end

Main resources:

Total runtime0.4980 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 589.1484152.6406
Module start 'layout' 0.00580.0030 741.789139.4844
Module start 'content' 0.00890.4878 781.2734549.0000
Module end 'content' 0.49670.0012 1,330.273412.1406
Script end 0.4979  1,342.4141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.6063160.0002
Check MTime0.00130.2620160.0001
Mysql Total
Database connection0.00110.213610.0011
Mysqli_queries0.447289.8128600.0075
Looping result0.00050.0987580.0000
Template Total0.472194.820.2360
Template load0.00200.391820.0010
Template processing0.470194.406220.2351
Template load and register function0.00020.040610.0002
states
state_id_array0.00070.131810.0007
state_identifier_array0.00060.114620.0003
Override
Cache load0.00160.3270340.0000
Sytem overhead
Fetch class attribute can translate value0.00050.104620.0003
Fetch class attribute name0.00110.220250.0002
XML
Image XML parsing0.00070.130720.0003
class_abstraction
Instantiating content class attribute0.00000.002860.0000
General
dbfile0.00080.1616160.0001
String conversion0.00000.002340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltags/emphasize.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/emphasize.tplEdit templateOverride template
1content/datatype/view/ezxmltags/header.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/header.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 27
 Number of unique templates used: 8

Time used to render debug report: 0.0002 secs