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 November 24th, 2003, 03:20 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 25
ImageGallery tutorial - Directory tree problem

Hi!

PHP newbie here, trying to make his first image gallery.

The tutorial was exelent and teh script is working perfectly. But now I'm trying to make the script more fitting for my needs.

My problem: I would like to have the directory tree (albums) to be visible when watching thumbnails (showing the folder list as a side bar).

I've tryed to learn from the tutorial, but cant make it work. I'm not gonna post my tries (code)here because I cant tell am I even close.

Could somebody help me?

Thanks...

Reply With Quote
  #2  
Old November 24th, 2003, 04:27 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: ImageGallery tutorial - Directory tree problem

the following is the section of the tutorial which seperates categories from galleries. so what you'll want to do, is combine them.
php Code:
Original - php Code
  1.  
  2. // here we combine all the keys of our array into a string
  3. // if it does not have a numeric value then we must have
  4. // categories to display
  5. if(!is_numeric(implode('', array_keys($navtree))))
  6. {
  7.     ..code for categories
  8. }
  9. else
  10. {
  11.     // if we're not working with categories, then we're
  12.     // working with images, so let's decide how many
  13.     // rows to display (depending if $viewall is true/false)
  14.  
  15.     ..code for galleries
  16. }

Reply With Quote
  #3  
Old November 25th, 2003, 09:31 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 25
RE: ImageGallery tutorial - Directory tree problem

OK...

I have tried to combine those to parts in several ways -> Cant make it work because I'm so newbie that I dont completly understand the code.

But still trying...

Reply With Quote
  #4  
Old November 26th, 2003, 03:32 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 25
RE: ImageGallery tutorial - Directory tree problem

Two nights I have tried, but nothing. Cant make it happen...

Could somebody just put the code here, I think thats my only hope now...

Thanks!

Reply With Quote
  #5  
Old February 26th, 2004, 03:15 PM
daemonknight daemonknight is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: JHB, South Africa
Posts: 1 daemonknight User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: ImageGallery tutorial - Directory tree problem

u still need this help??

if so then I will write you the framage code..or checkout a html frame tutorial, insert the code then and you can create the bar, or iframe even.

Later
Daemonknight

Reply With Quote
  #6  
Old February 26th, 2004, 03: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: ImageGallery tutorial - Directory tree problem

hmm.. the gallery has been updated to display categories and thumbnails at the same time. it's available here. this is also mentioned in the tutorial comments.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOtherTutorials > ImageGallery tutorial - Directory tree problem


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!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

Request Your Free Technology Downloads!
 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

Request Your Free Technology Downloads!
 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

Request Your Free Technology Downloads!
 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

Request Your Free Technology Downloads!
 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

Request Your Free Technology Downloads!
 

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




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