Revision 1445
Added by Antoine POURCHEZ over 12 years ago
jpeg_web.transf | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<sm:binaryXhtmlTransf xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling"> |
|
3 |
<sm:model sc:refUri="/binaries/jpg/jpeg.model"/> |
|
4 |
<sm:content> |
|
5 |
<sm:WCaptionBlock position="bottom" commonClass="resInFlow"> |
|
6 |
<sm:caption> |
|
7 |
<sm:title> |
|
8 |
<sm:binaryTitle/> |
|
9 |
</sm:title> |
|
10 |
<sm:chooseOnBinary> |
|
11 |
<sm:binary outputType="image"> |
|
12 |
<sm:imageTransform scale="0.35"/> |
|
13 |
</sm:binary> |
|
14 |
<sm:when widthOver="600" heightOver="600"> |
|
15 |
<sm:WLink commonClass="zoom"> |
|
16 |
<sm:label> |
|
17 |
<sm:fixedString>[Zoom...]</sm:fixedString> |
|
18 |
</sm:label> |
|
19 |
<sm:labelTitle> |
|
20 |
<sm:fixedString>Zoom...</sm:fixedString> |
|
21 |
</sm:labelTitle> |
|
22 |
<sm:link target="newWindow" windowName="zoom"> |
|
23 |
<sm:position> |
|
24 |
<sm:centerScreen/> |
|
25 |
</sm:position> |
|
26 |
<sm:windowFeatures scrollbars="no"/> |
|
27 |
<sm:WImage> |
|
28 |
<sm:binaryUrl> |
|
29 |
<sm:imageTransform maxWidth="900" maxHeight="700" outputType="JPEG"/> |
|
30 |
</sm:binaryUrl> |
|
31 |
<sm:size/> |
|
32 |
</sm:WImage> |
|
33 |
</sm:link> |
|
34 |
</sm:WLink> |
|
35 |
</sm:when> |
|
36 |
</sm:chooseOnBinary> |
|
37 |
<sm:callBinaryMeta axis="info"/> |
|
38 |
</sm:caption> |
|
39 |
<sm:content> |
|
40 |
<sm:WImage> |
|
41 |
<sm:binaryUrl> |
|
42 |
<sm:imageTransform scale="0.35" maxWidth="550" maxHeight="550" outputType="JPEG"/> |
|
43 |
</sm:binaryUrl> |
|
44 |
<sm:size/> |
|
45 |
</sm:WImage> |
|
46 |
</sm:content> |
|
47 |
</sm:WCaptionBlock> |
|
48 |
</sm:content> |
|
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:content> |
|
4 |
<sm:WCaptionBlock widgetClass="resInFlow" position="bottom"> |
|
5 |
<sm:caption> |
|
6 |
<sm:title> |
|
7 |
<sm:binaryTitle/> |
|
8 |
</sm:title> |
|
9 |
<sm:chooseOnBinary> |
|
10 |
<sm:binary> |
|
11 |
<sm:imageSize><sm:scale ratio="0.35"/></sm:imageSize> |
|
12 |
</sm:binary> |
|
13 |
<sm:whenSize widthOver="600" heightOver="600"> |
|
14 |
<sm:WLink widgetClass="zoom"> |
|
15 |
<sm:label> |
|
16 |
<sm:fixedString>[Zoom...]</sm:fixedString> |
|
17 |
</sm:label> |
|
18 |
<sm:labelTitle> |
|
19 |
<sm:fixedString>Zoom...</sm:fixedString> |
|
20 |
</sm:labelTitle> |
|
21 |
<sm:link target="newWindow" windowName="zoom"> |
|
22 |
<sm:position> |
|
23 |
<sm:centerScreen/> |
|
24 |
</sm:position> |
|
25 |
<sm:windowFeatures scrollbars="no"/> |
|
26 |
<sm:WImage> |
|
27 |
<sm:binaryUrl> |
|
28 |
<sm:imageTransform><sm:sizeBounds maxWidthInPx="900" maxHeightInPx="700"/><sm:outputJPEG/></sm:imageTransform> |
|
29 |
</sm:binaryUrl> |
|
30 |
<sm:declareSize/> |
|
31 |
</sm:WImage> |
|
32 |
</sm:link> |
|
33 |
</sm:WLink> |
|
34 |
</sm:whenSize> |
|
35 |
</sm:chooseOnBinary> |
|
36 |
<sm:callBinaryMeta axis="info"/> |
|
37 |
</sm:caption> |
|
38 |
<sm:content> |
|
39 |
<sm:WImage> |
|
40 |
<sm:binaryUrl> |
|
41 |
<sm:imageTransform><sm:scale ratio="0.35"/><sm:sizeBounds maxWidthInPx="550" maxHeightInPx="550"/><sm:outputJPEG/></sm:imageTransform> |
|
42 |
</sm:binaryUrl> |
|
43 |
<sm:declareSize/> |
|
44 |
</sm:WImage> |
|
45 |
</sm:content> |
|
46 |
</sm:WCaptionBlock> |
|
47 |
</sm:content> |
|
49 | 48 |
</sm:binaryXhtmlTransf> |
Also available in: Unified diff
migration 3.6.003