You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+30-5Lines changed: 30 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ You can modify the options of the gallery using function described below
39
39
```
40
40
41
41
## Global options
42
-
If you want, you can modify the gallery options to make it work better to you by using function `HesGallery.setOptions()`, you can also change settings passing settings object to `HesGallery.init()` function.
42
+
If you want, you can modify the gallery options to make it work better to you by using function `HesGallery.setOptions()`, you can also change settings passing settings object to `HesGallery.init()` function.
43
43
Sample:
44
44
```javascript
45
45
HesGallery.setOptions({
@@ -52,7 +52,7 @@ HesGallery.init({
52
52
disableScrolling: true
53
53
})
54
54
```
55
-
**Important**
55
+
**Important**
56
56
If you change the settings after initializing the script, not all options can be applied. To make sure that they will, use `HesGallery.init(options)` function.
`data-wrap` | *wrapAround* | Create loop on gallery, you can go from last photo to first with one click
@@ -101,6 +102,30 @@ Parameter | Description
101
102
`data-disabled` | If set will cause that the image will not be included in the gallery
102
103
`data-fullsize` | If we want to use thumbnails, we give the thumbnail path to the `src` tag and a path to the full version of graphics to the` data-fullsize` tag
103
104
105
+
## Images nested in Links
106
+
To support browsers without JavaScript, an option is to statically link the "large" images like so:
0 commit comments