Welcome, Guest. Please login or register.
Did you miss your activation email?
May 24, 2012, 11:19:37 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155452 Posts in 21705 Topics by 7731 Members
Latest Member: zvaigzdzius
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: image gallery with no thumbs  (Read 635 times)
peelec

Offline Offline

Posts: 17



« on: November 06, 2008, 10:32:48 PM »

Hello,

I'm looking for an image gallery with no thums, just show all the pics in a certain directorie.No slideshow, just scroll down to the rest of the pics. No cicking on an image. If none found please tell me how to modify another image gallery

greetings from holland
peter
« Last Edit: November 06, 2008, 10:56:10 PM by peelec » Logged
Vincent

Offline Offline

Posts: 360


WWW
« Reply #1 on: November 06, 2008, 10:46:29 PM »

Smooth Gallery will do the job.

Download here:
http://addons.websitebaker.org/modules/dlg_by_groups/dlc.php?file=125

regards,
Vincent
Logged
peelec

Offline Offline

Posts: 17



« Reply #2 on: November 06, 2008, 10:55:14 PM »

Almost, but i don't want a slideshow, just the pics and scroll down to the rest

thanks anyway
Logged
BerndJM

Offline Offline

Posts: 1764



« Reply #3 on: November 07, 2008, 12:09:15 AM »

Hi,

did I understand you correct:
you want a page with one img tag after the other who shows all the images contained in one certain folder?

Regards Bernd
Logged

In theory, there is no difference between theory and practice. But, in practice, there is.
peelec

Offline Offline

Posts: 17



« Reply #4 on: November 07, 2008, 01:15:13 AM »

Yes that's correct
Logged
BerndJM

Offline Offline

Posts: 1764



« Reply #5 on: November 07, 2008, 01:54:30 AM »

Ok,
you can reach this easily with a few lines of code, there is IMHO no need for a module.

1. Create a page type "code"
2. Copy this code in it:
Code:
$path = '../media/mypics/';
if ($handle = opendir($path)) {
   while (false !== ($file = readdir($handle))) {
      if ($file != "." && $file != ".." &&  $file != "index.php") {
         $pic = $path.$file;
         echo '<img src="'.$pic.'" alt="" />';
         echo '<br />';
      }
   }
   closedir($handle);
}
3. Set in the first line the $path to the correct path where your pics are
4. Style the HTML-output around line 6 like you want
5. Enjoy

Regards Bernd
Logged

In theory, there is no difference between theory and practice. But, in practice, there is.
peelec

Offline Offline

Posts: 17



« Reply #6 on: November 07, 2008, 12:52:40 PM »

Thanx it works
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!