@@ -1240,14 +1240,16 @@ Annotations require JQuery and are therefore not supported in the base theme.
1240
1240
You can check bootstrap theme's ``base.html`` for details on how to handle them in
1241
1241
custom themes.
1242
1242
1243
- Image Galleries
1244
- ---------------
1243
+ Images and Galleries
1244
+ --------------------
1245
1245
1246
1246
To create an image gallery, all you have to do is add a folder inside ``galleries``,
1247
1247
and put images there. Nikola will take care of creating thumbnails, index page, etc.
1248
1248
1249
- If you click on images on a gallery, you should see a bigger image, thanks to
1250
- the excellent `colorbox <http://www.jacklmoore.com/colorbox>`_
1249
+ If you click on images on a gallery, or on images with links in post, you will
1250
+ see a bigger image, thanks to the excellent `colorbox
1251
+ <http://www.jacklmoore.com/colorbox>`_. If don’t want this behavior, add an
1252
+ ``.islink`` class to your image or link.
1251
1253
1252
1254
The gallery pages are generated using the ``gallery.tmpl`` template, and you can
1253
1255
customize it there (you could switch to another lightbox instead of colorbox, change
@@ -1271,7 +1273,7 @@ The ``conf.py`` options affecting images and gallery pages are these::
1271
1273
# {"source": "relative_destination"}. Images will be scaled down if necessary so
1272
1274
# that neither width nor height is greater than MAX_IMAGE_SIZE and copied to
1273
1275
# destination folder. A thumbnail will also be created in the same folder with
1274
- # ``.thumbnail`` inserted in the file name before the file extension
1276
+ # ``.thumbnail`` inserted in the file name before the fileposts extension
1275
1277
# (e.g. ``tesla.thumbnail.jpg``).
1276
1278
IMAGE_FOLDERS = {'images': 'images'}
1277
1279
# More image/gallery options:
0 commit comments