Home XtGem- Templates- XtScript- bottom


Single page thumbnail gallery filelist with descriptions and individual xtgem polls for rating the images

Xtscript image gallery

See http://syntax.xtgem.com/gallery
The script creates a paged display of css resized thumbnails
when images are clicked the landing page shows the image plus name type file size and date with open and download buttons a description and a xtgem poll for rating the image
As the actual filelist is not in the xtscript the problem with timeouts for large folders should not occur.

Back to posts
[9:49pm 17-8-1] 672n :

تم الشخل من قبل طحن الهكر
لعيون حزب طحن الهكر

[4:16pm 17-7-13] abhnm :


[2:42pm 17-7-10] mashabat :

تم النشر قبل,مشبات مشبات صور مشبات.مشبات,ديكورات مشبات,مشبات,مدافئ,مشبات رخام,مشبات حيثة, بواسطة ,مشبات مشبات صور مشبات.مشبات,ديكورات مشبات,مشبات,مدافئ,مشبات رخام,مشبات حيثة, حديثه
التصنيفات: اوجارات مشبات ديكورات مشبات صور مشبات ,مشبات مشبات صور مشبات.مشبات,ديكورات مشبات,مشبات,مدافئ,مشبات رخام,مشبات حيثة, صور مشبات جديدة مشبات مشبات حديثه جوال ,مشبات مشبات صور مشبات.مشبات,ديكورات مشبات,مشبات,مدافئ,مشبات رخام,مشبات حيثة,
ديكورات مشبات بزخارف تراثية-مشبات على الطراز الاندلسي
اذا كنت تريد تركيب مشب مميز بمنزلك سارع بمعرفة احدث عروض اسعار تركيب مشبات من موقع ابو حازم بالمملكة.

[11:38pm 17-7-5] mainman :

Really nice website with loads of great content! Good job
Visit my site http://techrom.xobor.com

[11:53pm 17-6-8] scx :

Maaf gan mau nanya yg di Tekarea selectornya apa terima kasih

Post a comment


All the settings are at the top of the xtscript.

The descriptions use the xtscript "source" function the default setting looks for the descriptions folder in the same folder or directory as the gallery page
You can set your own path and descriptions folder name in the settings the path must be relative to the page containing the script not the root directory.
There is also a setting to convert newlines into <br /> tags otherwise they will be ignored.
The description file can be plain text or html and must have the same name as the image without any extension
The descriptions can contain any normal html or javascript and most xt functions and xt widgets.
They cannot contain xtscript
If the description is a html page only the content between the body tags is used (including the container) and newlines are ignored except in text blocks
If there is no description file for an image no description block will be shown.

Unique polls for each image are created by using part of a md5 hash of the url + the filename so if the url is changed so are the polls.
Some javascript is used in the xtscript to change some of the classes and the submit button text in the poll xtfunction.

As the actual filelist function is outside of the xtscript the timeout for large folders should not happen.

Copy the script to a code block or copy it to a plaintext file and include it on the page.
You can also "remote server" upload it fromAnd then include it on your page
Suggest more features in the comments above or on the forum post sensible and possible ones will be added


This css stylesheet is just a demo
It contains most of the classes you will need
copy it to a plain text file named gallery.css
and link to it in your page header using something likeYou can also "remote server" upload it from
Powered by XtGem
About us Contact Forum top