Tutorials
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOtherTutorials

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old February 19th, 2004, 10:02 PM
hbingal hbingal is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: MD, USA
Posts: 4 hbingal User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
About Notepad's Gallery tutorial

After read the tutorial and messages on the forum, finally I got it working.
You can take a look at my page:
http://mmount-47.umd.edu/gallery
Here are some comments I want to say:
1. If the three PHP files were put in the same folder as the image files, you need to follow the first advice in troubleshooting. Otherwise, ingore it.
2. I need to get rid of the require_once(config.php); sentence in the imgsrc.php file, and redefine a variable for THMBWIDTH. If not, I can not see the thumbnails on the webpage.
3. Notepad should emphasize that full server path should be used when defining the PATH constant.
4. The last one is a question for Notepad. Is it very difficult to make subfolder working or you just leave it to us as an "assignment"?

Thanks for a wonderful tutorial.

Reply With Quote
  #2  
Old February 20th, 2004, 05:15 AM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via AIM to notepad
RE: About Notepad's Gallery tutorial

Quote:
2. I need to get rid of the require_once(config.php); sentence in the imgsrc.php file, and redefine a variable for THMBWIDTH. If not, I can not see the thumbnails on the webpage.
that shouldn't be necessary unless you're copying and pasteing the code directly from the site, which is probably giving you a "space" in the config file which shouldn't be there.
Quote:
3. Notepad should emphasize that full server path should be used when defining the PATH constant.
that is also mentioned in the troubleshooting.
Quote:
4. The last one is a question for Notepad. Is it very difficult to make subfolder working or you just leave it to us as an "assignment"?
no it shouldn't be difficult at all, so long as the subfolder only contains alphabetical characters, numerical numbers and spaces. any other characters and you'll need to add some code to make it allow them.

Reply With Quote
  #3  
Old February 20th, 2004, 05:14 PM
hbingal hbingal is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: MD, USA
Posts: 4 hbingal User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: RE: About Notepad's Gallery tutorial

Thanks for the reply.
I see what you mean of the space in config.php.
For the subfolder question, if I create a subfolder within the 'images' folder, then the symptom is as you said in the tutorial, only the subcatagories is displayed without images.
How did you get it resolved?
Thanks.

Reply With Quote
  #4  
Old February 20th, 2004, 05:51 PM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via AIM to notepad
RE: About Notepad's Gallery tutorial

ahh yes, that.. i haven't actually messed with that myself but i've been meaning to implement it.. it would require rewriting a portion of the code. i also want to add prev/next links when viewing larger images.

i'll let you know when i get around to it but i'm not gonna promise nothing like, tomorrow.

Reply With Quote
  #5  
Old February 20th, 2004, 06:19 PM
hbingal hbingal is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: MD, USA
Posts: 4 hbingal User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: RE: About Notepad's Gallery tutorial


Quote:
ahh yes, that.. i haven't actually messed with that myself but i've been meaning to implement it.. it would require rewriting a portion of the code. i also want to add prev/next links when viewing larger images.

i'll let you know when i get around to it but i'm not gonna promise nothing like, tomorrow.


The code works if I won't mix jpg files and subfolders together under the same folder level. However, I would like to display the folder link as a random picture inside that folder instead of a plain text link. This is the style of www.pbase.com.
Display prev/next link would also be great.

Reply With Quote
  #6  
Old February 20th, 2004, 06:50 PM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via AIM to notepad
RE: About Notepad's Gallery tutorial

yea i understand what you mean. the whole idea for the tutorial was to be as simple as possible.

it won't be hard to make that stuff happen it's just a matter of finding the time to do it.

Reply With Quote
  #7  
Old February 21st, 2004, 12:00 AM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via AIM to notepad
RE: About Notepad's Gallery tutorial

alright i got bored and, did a rough hack. example here, source here.

now it's your turn to add a hack and send me the source

[edit: scratch that.. i'm unhappy with this hack already, improving as we speak...]

[edit again: ehh.. that's a little better i guess]

Reply With Quote
  #8  
Old February 22nd, 2004, 10:16 PM
bluephoenix's Avatar
bluephoenix bluephoenix is offline
Levelheaded Curmudgeon
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Syracuse, NY
Posts: 508 bluephoenix User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 24 m 56 sec
Reputation Power: 3
Send a message via AIM to bluephoenix
RE: About Notepad's Gallery tutorial

Just an FYI: The link to source is dead (404).

and I LOVE the descriptions... How did you manage to implement those?!

-Tim


Reply With Quote
  #9  
Old February 23rd, 2004, 02:51 AM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via AIM to notepad
RE: About Notepad's Gallery tutorial

yea i took the source link down, i'm gonna make it accessible another way.. just haven't decided how yet.

btw it now has a fully functional web-based admin section as well.

and the description implementation, i actually took the suggestion of somebody.. you in fact. smartass.

Reply With Quote
  #10  
Old February 23rd, 2004, 05:00 PM
hbingal hbingal is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: MD, USA
Posts: 4 hbingal User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: About Notepad's Gallery tutorial

notepad, I did get your phps file before you took it down. At that time, I did not like to use javascript to make the navigation work. Now I see you changed it.
I also did some work over the last weekend, and managed to make the gallery looks like the way I want. You can take a look again at my website. I am sure the code can be improved to make it work for every possible 'bad' scenario.
I sure learned a lot from your code. We can exchange code if you want.
Thanks.

Reply With Quote
  #11  
Old February 23rd, 2004, 05:47 PM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via AIM to notepad
RE: About Notepad's Gallery tutorial

sure, do you have aim? you can catch me online later tonight, otherwise just drop me an e-mail and i'll reply with a zip or sumthin.

the javascript was nasty

Reply With Quote
Reply

Viewing: Codewalkers ForumsOtherTutorials > About Notepad's Gallery tutorial


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek