Added: 1 year ago
From: phpacademy
Views: 10,263
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (39)

Sign In or Sign Up now to post a comment!
  • Thanks Alex...

    can we create a UI to delete any picture from directory without having database.

  • @nidajaved139 use your imagination, you can do just about anything with php =)

  • thank you Alex ... but i used lightbox v2.05 and its beautiful ! .... i wish you make another tutorial how to add a comment box on the picture like facebook. greetings

  • Ok I'm not using the JS Lightbox. So how do I customize the fullsize view? Where do I add code to add elements to that page?

  • Hey GREAT TUT !! one of the best I rate ! just 1 question, instead of having the album's. How would it work to have 1 folder of pics (& one of thumbs) with arrows on each side (prev, next) and when new images get added, the latest ones (by date) will be in front, then say there are 2 rows of 5 pics on a page, when u click next it will load the next (older) 10 pics, and prev it will load the previous (newer) pics ? Thanx so much, You ROCK !!

  • Hey Alex, nice jobs :), please can you send complete photoalbums on the my mail? If you can, please send to: Prelovskynia@gmail.com tree files index.php , album.php , lightbox.php.

    Very thanks you and good luck for the next video. Adrian

  • Comment removed

  • @prelovskynia Lol wtf! You also was a blowjob?

  • grate nice jobs alex

  • Super Alex..

  • these vids are amazing!

  • hey great tut, but it just doenst work (here). When i open the .php file it opens my dir. and not an internetbrowser... the file is called album2.htm. Your file is called album.PHP and that doenst work for me... :< what do i have to do?

  • if you don't put the js file in the root dir

  • talking about security

    if you check the sourcecode of album.php you can see the path of the js file

    if you got that you can figure out the structure off the website..

    and youtube need a edit button

  • talking about security if you check the source code you can see the path to the js source and figure and go to the directory if you mess around ...

  • LOL 4:19 ..

  • very very great job

  • if you where to set the table before the loop you can just do a new table row that way your not adding massive amounts of tables

    as well if you instead use percentages ie td percentage of width = 1/5 or picture width/table width you solve half of the problem of too much and not enough space unfortunately i dont know how to find the width of the elements without pre defining them i suppose you could do it with javascript but yeah love your tutorials but wish you would bring back old dynamic pages

  • I did this for my website, and it works like a dream. But, my jquery menu doesn't work after i put lighbox script in head tags.. Any idea what i should do?

    Thanks, Henrik

  • whoaw this is magic..

  • I am a fan and like to look to your tutorials first for neat things to do on pages. I liked this one and went all through it and everything works, except for what seemed to be the easiest thing. The back to albums button. I am not sure what I did wrong.

  • Hey, great tutorial again , but could you help me with something?

    If i embed the album.php inside lets say an index.php using your dynamic pages, all the security etc.. doesn't work. Why's that?

  • @anjovis96 I continued and the albums itself (showing pictures etc,) aren't working either, but if i go to my album.php it works..

    What's wrong?

  • Your tutorials are the best!!! I have a question though...

    Is there a way to save a "title" for the image in a txt or php file and have the code pull it in?

    I've set my code up so you can upload pictures into a dir with php and use your code to show them, but it would be nice if the images could have descriptions too. The title tag with lightbox can use it like a description.

    I'm having trouble adding this function to your code

  • @blizzardengle1 HEY GUYS FIGURED IT, here is the code in case anyone else is interested. // Get description $file = substr($images, 0, strrpos($images, '.')); $ex = ".txt"; if (file_exists("$base/$text/$fil­e$ex")) { // Description that was found $des = file_get_contents("$base/$text­/$file$ex"); } else { // No description found (Still need to show something or it just grabs the last des???) $des = "&nbsp;"; }
  • Great tutorial!!!

  • Great tutorial thanks, what would be more conservative on bandwidth and speed up page load. Displaying the regular photo's resized so they appear like thumbnails, then there are only one set of photo's being downloaded to the page. Or are the big photo's only downloaded when they are clicked on? If so then would be more beneficial to have smaller photo's as thumbnails thus a smaller overall page size so quicker download - sorry if ambiguos.

  • Okay so i commented on the video and asked for help at the same time. Just wanted everyone to know that I figured it out. It was actually very simple. All i had to do was change style=display:inline; to style=display:inline-block;

    Thanks again!

  • I have to say this was a very useful tutorial. I integrated it to my website and it works great except for in safari browser the photo gallery doesn't display horizontally like it should since I added the display=incline in the table.

    Works perfectly in Foxfire. Any suggestions?

    Thanks in advance!

  • Very professional videos not only that but all i watched. I am going to watch all videos of that user. Thx for pagination and Non-database Photo Album. i was watching with a great pleasure.

  • Would this work for video files ?????????????

  • Comment removed

  • I really like that you explain the code step by step.

    Well done :)

  • As always, awesome!

  • thanks (: your tutorials are the best.. !

  • @danielcreations Aww, thank you.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more