Project

General

Profile

root / trunk / model / sources / binaries / jpg / jpeg_web@inline.transf @ 1445

1
<?xml version="1.0" encoding="UTF-8"?><sm:binaryXhtmlTransf xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core">
2
	<sm:model sc:refUri="/binaries/jpg/jpeg.model"/>
3
	<sm:axis code="inline"/>
4
	<sm:content>
5
		<sm:chooseOnBinary>
6
			<sm:binary>
7
				<sm:imageSize><sm:scale ratio="0.35"/></sm:imageSize>
8
			</sm:binary>
9
			<sm:whenSize widthOver="400" heightOver="100">
10
				<sm:WLink>
11
					<sm:label>
12
						<sm:WImage widgetClass="sfile_jpg_jpeg_inline_img">
13
							<sm:binaryUrl>
14
								<sm:imageTransform><sm:scale ratio="0.35"/><sm:sizeBounds maxWidthInPx="400" maxHeightInPx="100"/><sm:outputJPEG/></sm:imageTransform>
15
							</sm:binaryUrl>
16
							<sm:declareSize/>
17
						</sm:WImage>
18
					</sm:label>
19
					<sm:link target="newWindow" windowName="zoom">
20
						<sm:position>
21
							<sm:centerScreen/>
22
						</sm:position>
23
						<sm:windowFeatures scrollbars="no"/>
24
						<sm:WImage>
25
							<sm:binaryUrl>
26
								<sm:imageTransform><sm:sizeBounds maxWidthInPx="900" maxHeightInPx="700"/><sm:outputJPEG/></sm:imageTransform>
27
							</sm:binaryUrl>
28
							<sm:declareSize/>
29
						</sm:WImage>
30
					</sm:link>
31
				</sm:WLink>
32
			</sm:whenSize>
33
			<sm:otherwise>
34
				<sm:WImage widgetClass="sfile_jpg_jpeg_inline_img">
35
					<sm:binaryUrl>
36
						<sm:imageTransform><sm:scale ratio="0.35"/><sm:sizeBounds maxWidthInPx="400" maxHeightInPx="100"/><sm:outputJPEG/></sm:imageTransform>
37
					</sm:binaryUrl>
38
					<sm:declareSize/>
39
				</sm:WImage>
40
			</sm:otherwise>
41
		</sm:chooseOnBinary>
42
	</sm:content>
43
</sm:binaryXhtmlTransf>
(6-6/9)