Current location: Hot Scripts Forums » Programming Languages » PHP » display pictures + add easy


display pictures + add easy

Reply
  #11 (permalink)  
Old 09-15-03, 09:01 AM
fb2003 fb2003 is offline
Newbie Coder
 
Join Date: Aug 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
yeah thanks, this works great ... saves me really a lot of work.
If I have some more questions I know who to ask

THANKS !

Frank
Reply With Quote
  #12 (permalink)  
Old 09-30-03, 04:48 PM
fb2003 fb2003 is offline
Newbie Coder
 
Join Date: Aug 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
new layout ;)

Hello, well I'm in need for a new way to display the pictures .. and I wanted it like this :

PHP Code:

<table width="100%">

  <tr>


<?php
$i 
0;

while (
$i <= 30) {
    
$img $i 1;
    
$img .= ".jpg";

    if (
is_file($img)) {
    echo 
'<td><div align="center"><img src="' .$img'" ><div></td>';
    }

$i++;

}
?>
</tr>
</table>
Sorry this is the best I cold do .. can somebody help me to get not only jpg files but like also png and gif .. that would be perfect and a max for rows and colloumbs like $rows="4" $coulmb="5" .. that would be very helpfull, making clickable thumbs and resizing the pics .. would be the next step .. just give me some tips about that.

Thanks,

FRANK
Reply With Quote
  #13 (permalink)  
Old 01-09-04, 09:15 AM
icee icee is offline
Newbie Coder
 
Join Date: Jan 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Hi
Can someone tell we where i can get a script like this but in html with an easy layout to it thanks

ICEE

Last edited by icee; 01-09-04 at 09:19 AM.
Reply With Quote
  #14 (permalink)  
Old 11-06-04, 04:52 PM
Surfer Surfer is offline
New Member
 
Join Date: Nov 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Get this script working together with a MySQL table?

Hello!

Is this might what you been searching for?

http://www.dynamicdrive.com/dynamici...rightslide.htm

I´m also intrested to know how to get this script working together with a MySQL database.

My MySQL tabel:

PHP Code:

CREATE TABLE `photos` (

  `
IDint(11NOT NULL auto_increment,
  `
ordningint(11NOT NULL default '0',
  `
fil_namnvarchar(255NOT NULL default '',
  `
texttext NOT NULL,
  `
modelIDint(11NOT NULL default '0',
  `
andv_ipvarchar(50NOT NULL default '',
  `
datumdatetime NOT NULL default '0000-00-00 00:00:00',
  
PRIMARY KEY  (`ID`)
TYPE=MyISAM AUTO_INCREMENT=10 
I hope you can read what I write...
I´m not that very god in English.

Thanks in advance.

Kind regard from the country of Sweden!
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
If date is less than today do not display jimthepict ASP 5 10-19-03 10:43 PM
call, array and display? irfaan PHP 5 08-09-03 05:41 PM
Manipulating arrays for display in HTML madsurfer007 PHP 3 08-07-03 08:26 PM
display data sasi ASP 6 08-06-03 05:52 PM
Easy File Manager supports multilanguage !!! HotCGIScripts !!! General Advertisements 2 08-06-03 11:59 AM


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