2014-04-11, 05:01:37
(2014-04-11, 04:19:31)xxdex Wrote: it's a possible to get one image (random image) from selected gallery?.. one random image when page is load... i think about random photo ? or one newest image from selected gallery??
You can use (% gallerylink ... %) to show one random image linking to the gallery's page.
Or you can use (% gallery ... thumb=random %) to show only one thumbnail instead of all tumbnails. Clicking on this thumbnail will then open the gallery.
You can also combine this with tags=mytag to limit the thumb to an image with the given tag. With the (% gallerylink %) this would still link to the gallery with all images, whereas if used with (% gallery %) this would only show the appropriately tagged images in the gallery.
At last you can specify thumbwidth=... and thumbheight=... to overwrite the configured thumbnail size. This way the link would look less like a thumbnail, but more as a normal image.
See I18N Gallery and Links.