Current location: Hot Scripts Forums » General Community » Script Requests » Thumbnail Gallery Script for Hostultra free host?


Thumbnail Gallery Script for Hostultra free host?

Reply
  #1 (permalink)  
Old 10-11-04, 04:43 PM
Forlornn Forlornn is offline
New Member
 
Join Date: Oct 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbnail Gallery Script for Hostultra free host?

i must have looked everywhere, and i really need a thumbnail gallery script, something that looks simple and clean, i dont care if it tells the views or lets people comment though those would be nice. My free host doesnt let me use ASP, MySQL, or something else i cant remember.. but it has to do with images, its like IG or something. I can use mostly anything else. my site is:

http://free.hostulta.com/~zero25x/

Anything would be nice, its just making a gallery from scratch with html takes a lifetime x.x
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 10-11-04, 08:11 PM
Highlander Highlander is offline
Newbie Coder
 
Join Date: Oct 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Thumbnail Gallery

Re: http://free.hostultra.com/~zero25x/

I checked out your site and your host. They allow PHP and MySQL. MySQL is a one time $5 set-up fee with them. Here are a few free scripts and what they require. They will count views and allow comments.

4 Images Gallery
(Php & MySQL)
http://www.4homepages.de/


Coppermine Photo Gallery
(PHP, MySQL and GD or Imagmagik)
http://coppermine.sourceforge.net/


Gallery 2
(PHP)
http://gallery.menalto.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 10-12-04, 05:13 PM
Forlornn Forlornn is offline
New Member
 
Join Date: Oct 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Highlander
Re: http://free.hostultra.com/~zero25x/

I checked out your site and your host. They allow PHP and MySQL. MySQL is a one time $5 set-up fee with them. Here are a few free scripts and what they require. They will count views and allow comments.

4 Images Gallery
(Php & MySQL)
http://www.4homepages.de/


Coppermine Photo Gallery
(PHP, MySQL and GD or Imagmagik)
http://coppermine.sourceforge.net/


Gallery 2
(PHP)
http://gallery.menalto.com/

only one of these i thought i would b able to use was gallery. but that requires imagemajik or someother program similar to it and my free host banned that, so i cant use any of those T_T. Any suggestions?
I just wanted a photo gallery with like 4 rows, 5 colums, with the title and date created under it and when u click it, it opens in a new window. nothing really fancy.

Can anyone help? T_T
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 10-12-04, 05:32 PM
Bonzo's Avatar
Bonzo Bonzo is offline
Coding Addict
 
Join Date: Jan 2004
Posts: 340
Thanks: 0
Thanked 0 Times in 0 Posts
Sounds like you need a read directory; display the images in a table and a link to a larger image.

I did something at the start of the year but my memory is crap.

Some bits below.

Anthony

PHP Code:

/* Thumbnails are in a directory and the $thumb_dir  is the path to the directory.

The larger images are in a different directory.
This will read all the images from a directory and create a table
The images are shown on a page called display.php and the image name is passed in the URL
May need tweeking as I had a problem finding it on my hard drive 
It also arranges the amount of images in a row before starting a new row 
*/ 

  
$myDirectory opendir$thumb_dir );
  
    while(
$entryName readdir($myDirectory))
    {
    
$dirArray[]=$entryName;
    }
    
closedir($myDirectory);

  
$indexCount count($dirArray);

  echo 
"<center><h2>All images from the directory<br>Click on an image for a larger view</h2><table>";
  
$column=1;
  for (
$i=2$i<$indexCount$i++)
  {
    if (
$column==1)
  {
    echo 
"<tr>";
  }
   echo 
'<td align="center"><a href="display.php?pic='.$dirArray[$i].'" target="_self">
         <img border="0" src="'
.$thumb_dir.$dirArray[$i].'" alt="'.$dirArray[$i].'"></a></td>';
         
  
$column++;
  if (
$column==3)
  {
  echo 
"</tr>";
  
$column=1;
  }
  } 
PHP Code:

// the display.php page

<?php
  
echo "<center>";
  echo 
"<body topmargin=20>";
  echo 
"<br><img src=water/",$pic," alt = ",$pic,">";
  echo 
"</center>";
?>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 10-12-04, 05:47 PM
Forlornn Forlornn is offline
New Member
 
Join Date: Oct 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Bonzo
Sounds like you need a read directory; display the images in a table and a link to a larger image.

I did something at the start of the year but my memory is crap.

Some bits below.

Anthony

PHP Code:

/* Thumbnails are in a directory and the $thumb_dir  is the path to the directory.

The larger images are in a different directory.
This will read all the images from a directory and create a table
The images are shown on a page called display.php and the image name is passed in the URL
May need tweeking as I had a problem finding it on my hard drive 
It also arranges the amount of images in a row before starting a new row 
*/ 

  
$myDirectory opendir$thumb_dir );
  
    while(
$entryName readdir($myDirectory))
    {
    
$dirArray[]=$entryName;
    }
    
closedir($myDirectory);

  
$indexCount count($dirArray);

  echo 
"<center><h2>All images from the directory<br>Click on an image for a larger view</h2><table>";
  
$column=1;
  for (
$i=2$i<$indexCount$i++)
  {
    if (
$column==1)
  {
    echo 
"<tr>";
  }
   echo 
'<td align="center"><a href="display.php?pic='.$dirArray[$i].'" target="_self">
         <img border="0" src="'
.$thumb_dir.$dirArray[$i].'" alt="'.$dirArray[$i].'"></a></td>';
         
  
$column++;
  if (
$column==3)
  {
  echo 
"</tr>";
  
$column=1;
  }
  } 
PHP Code:

// the display.php page

<?php
  
echo "<center>";
  echo 
"<body topmargin=20>";
  echo 
"<br><img src=water/",$pic," alt = ",$pic,">";
  echo 
"</center>";
?>
aye.. to bad i cant read php well lol. all i need to know is where i put where the directory is, where i put the thumbnails and where i put the full sized images. ^^;

P.S.
im REALLY bad at php lol. i know little to nil x.x
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #6 (permalink)  
Old 10-12-04, 08:40 PM
#1 Stunna's Avatar
#1 Stunna #1 Stunna is offline
Newbie Coder
 
Join Date: Aug 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
if u want one just to do HTML galleries check out this one:

http://www.ornj.net/software/webalbum/

& it's free!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #7 (permalink)  
Old 10-13-04, 03:32 PM
Bonzo's Avatar
Bonzo Bonzo is offline
Coding Addict
 
Join Date: Jan 2004
Posts: 340
Thanks: 0
Thanked 0 Times in 0 Posts
A quick demo of my code working http://www.rubble.info/photo/table.php

Not neat as I have lost my good copy !

Anthony

P.S. Dose anyone know how to get hold of the date uploaded from the image ?

P.P.S Just found this http://www.00forward.com/projects/minishowcase/

Last edited by Bonzo; 10-13-04 at 03:44 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Searching for a random quote free script... Sgrebs Script Requests 4 03-11-06 10:09 PM
PHP Coder Wanted | Free guestbook host script | Details inside! diederik Job Offers & Assistance 2 09-30-04 04:42 AM
Hows Ma' Site folks? umairunique5k Website Reviews 3 08-05-04 09:37 PM
Searching for a random quote free script... Sgrebs Script Requests 0 11-14-03 03:44 PM
free host scripts vb2vb PHP 8 06-14-03 11:22 AM


All times are GMT -5. The time now is 10:45 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.