thumbnails in separate folder

58 views
Skip to first unread message

palacios

unread,
Mar 14, 2013, 7:48:51 AM3/14/13
to mootools-...@googlegroups.com

hello,

the script is very nice but i can't make it work as i want.

i am trying to have the thumbnails on a separate folder, the structure is simple

/gallery
/gallery/thumb
html_file.html

i have tried all sort of combinations on the wiki and blog pages but with no success.

please have a look at these 2 examples
http://www.saul.gr/sites/default/files/home/saulgr/public_html/saul_files/active_archive/gmt1.php?id=test
http://www.saul.gr/sites/default/files/home/saulgr/public_html/saul_files/active_archive/gmt2.php?id=test

i have to admin i am not good with js

thanks,
giulio

Baskin

unread,
Mar 14, 2013, 8:00:47 AM3/14/13
to mootools-...@googlegroups.com
Hi

What u want can see here http://old.sunmar.ru/hotel/574/

palacios

unread,
Mar 14, 2013, 8:28:57 AM3/14/13
to mootools-...@googlegroups.com
Thank you for your reply. Still i dont understand..

palacios

unread,
Mar 15, 2013, 8:02:30 AM3/15/13
to mootools-...@googlegroups.com

none of these 2 optinos work:

<script>
		window.addEvent('domready', function(){
			var data = {'1.jpg': { }, '2.jpg': { }, '3.jpg': { }, '4.jpg': { }};

			new Slideshow('overlap', data, {replace: [/^(.*)$/, 'thumb/$1'], captions: false, delay: 3000, height: 300, hu: 'test/', width: 400 });
			
		});
</script>


nor


<script> window.addEvent('domready', function(){ var data = {'1.jpg': { thumbnail: 'thumb/1.jpg'}, '2.jpg': { thumbnail: 'thumb/2.jpg'}, '3.jpg': { thumbnail: 'thumb/3.jpg'}, '4.jpg': { thumbnail: 'thumb/4.jpg'}}; new Slideshow('overlap', data, { captions: { delay: 1000 }, delay: 3000, height: 300, hu: 'test/', width: 400 }); }); </script>


Thank you,
giulio
Reply all
Reply to author
Forward
0 new messages