|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||||
|
|||||
|
RE: About Notepad's Gallery tutorial
Quote:
Quote:
Quote:
|
|
#3
|
|||
|
|||
|
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. |
|
#4
|
|||
|
|||
|
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. |
|
#5
|
|||
|
|||
|
RE: RE: About Notepad's Gallery tutorial
Quote:
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. |
|
#6
|
|||
|
|||
|
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. |
|
#7
|
|||
|
|||
|
RE: About Notepad's Gallery tutorial
|
|
#8
|
||||
|
||||
|
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 |
|
#9
|
|||
|
|||
|
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. |
|
#10
|
|||
|
|||
|
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. |
|
#11
|
|||
|
|||
|
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 |
![]() |
| Viewing: Codewalkers Forums > Other > Tutorials > About Notepad's Gallery tutorial |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|