Current location: Hot Scripts Forums » Programming Languages » PHP » Gallery script good/bad idea?

Gallery script good/bad idea?

Reply
  #1 (permalink)  
Old 02-28-05, 12:35 PM
joshg678 joshg678 is offline
Newbie Coder
 
Join Date: May 2004
Location: Home
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Gallery script good/bad idea?

I have made this gallery script a while ago, that will find all the pictures you have in a set folder, then link them accordingly with a thumbnail with the same file name in a different folder, which works really well.
Then i got to thinking, i hated making the thumbnail. I wanted to make a PHP script using GD that will find the normal image and create an automatic thumbnail, and then save it in a folder and just use that image next time so you do not have to recreate it every time (less server load next time you load the page with the pics). Since i did not have enough PHP skillz i decided to look for one.
So i found a script called "phpthumb()" that will allow you to find a jpg and scale it down to what you have it set as. Also this script caches the image so you do not have to recreate it next time. So i incorporated it my script.

So now you have a page that will find all the images you have, then link them using the phpthumb() script, create the thumbnails and store them in a folder. Then if you want to view the image in full size you click on it, it goes to a page where you see the image full size and it will load. Then you can click the image and it will take you back to the gallery page, using javascripts:go(-1); thing.



Since i already have this script made up and everything for my website because i needed it for my gallery, since I'm always adding more images, and don't have a lot of time now that I'm working a lot.

I have 2 demos HERE and HERE

The second one is for the website i use it publicly, like for the website, the first one is the demo link for when i get my scripts section up on my website.

If i created this script for public download, i would of course give 100% credit to phpthumb() for the thumbnailing/catching



So do you think this is a good script to have on my website (free of course).
Would you use it?
__________________
http://www.thrillnerdshosting.com
http://www.thrillnerds.com
http://www.joshrcc.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 12-22-08, 08:57 AM
mukki mukki is offline
Newbie Coder
 
Join Date: Dec 2008
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
There are a way to many ads on your gallery
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 12-22-08, 09:41 AM
DAL's Avatar
DAL DAL is offline
Code Master
 
Join Date: Jun 2003
Location: North East England/UK
Posts: 874
Thanks: 0
Thanked 0 Times in 0 Posts
one thing I would be aware of is that if you wish to delete the image from the gallery, remember to delete the thumb as well

Well its not a new idea and I suppose it really boils down to whether you like it or not. It doesnt have a warm cosy feel to it and the formatting needs a little work but as far as the scripting side of things go, no errors so your on your way to having a good gallery

one other issue was that CSS scroll bar colours is non-standard and thus my FireFox doesnt know what do with that and causes an error. W3C is an important step when designing a website.

Kind regards
Dal
__________________
"once upon a midnight dreary, while i pron surfed, weak and weary, over many a strange and spurious site of 'hot xxx galore'. While i clicked my fav'rite bookmark, suddenly there came a warning, and my heart was filled with mourning, mourning for my dear amour," 'Tis not possible!", i muttered, "give me back my free hardcore!" quoth the server, 404."
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share 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
2 profitable script sites for sale cms-master.com General Advertisements 3 07-03-07 11:17 AM
user gallery script coldclimber Script Requests 0 10-24-04 04:02 PM
photographer gallery script omini Script Requests 7 10-22-04 01:47 PM
gallery script Emjay PHP 7 01-25-04 05:06 PM
Adding one script to another? Guestbook to gallery Pvasoldier PHP 1 09-25-03 07:02 PM


All times are GMT -5. The time now is 01:40 PM.
vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.