* Graham 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 a description and the files name type file size and date with open and download buttons 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
2014-12-03 02:29 (edited 2014-12-03 07:25 by Graham ) · (0)
* gratis-mp3.xtgem.com Like gan
2014-12-15 10:10 · (0)
* XTMEDIA * Graham For Xtscript galery#
how to keep the file name is in the title page? Example: Filename= "gambar_punyaku.jpg" and in the page title into "image punyaku.jpg"
2015-01-26 00:54 · (0)
* onedc * XTMEDIA What is that? a file name base parsed (a function to change _ and + to space or you want to change the word gambar to image? i think you can do that by using string replace xtscript..
2015-01-26 02:25 · (1)
* Graham * XTMEDIA use {_$listfile|} in your pages <title> as that holds the files name
ie:
<title>{_$listfile|DEFAULT TITLE HERE}</title>
Copy code

or to do exactly what you asked use an xtscript with a str_ireplace as onedc says
<!--parser:xtscript-->
get_or_default listfile;DEFAULT TITLE
var $spc=call chr $val=32
var $title=call str_ireplace $subject=$listfile;$search=gambar_;replace= image$spc
<!--/parser:xtscript-->
<title>{_$$title|}</title>

Copy code
2015-01-26 02:53 (edited 2015-01-26 03:12 by Graham ) · (0)
* XTMEDIA * Graham Sorry mr.graham there is a bit of a mistake when writing, exp:
file name is= xtgem_images.jpg

<title> {_$listfile|Filename}</title>
will definitely display
the
<title>xtgem_images.jpg</title>

if the title of the page in order to be
<title> xtgem images.jpg </title>

was how to display it?, Thank you.
2015-01-26 07:17 · (0)
* Graham * XTMEDIA Same xtscript code
change $search=gambar_;replace= image$spc
to $search=_;replace=$spc
you need the $spc var trick as otherwise you cannot define a space for replace
2015-01-26 08:47 (edited 2015-01-26 08:51 by Graham ) · (0)
* XTMEDIA * Graham ok, thanks .. i will try it first
2015-01-26 12:09 · (0)
* Aash What are the sort types available?
E.g. name, date, last_modified etc.
2015-02-01 05:06 · (0)
* XTMEDIA * Aash Your edit in code xtscript
var $sort_type=name
var $sort_dir=asc

name is sortir by name you edit to date

simple xtscript edited my galery :)
2015-02-15 13:37 (edited 2015-02-15 14:26 by XTMEDIA ) · (0)

Online: Guests: 1