Author |
Topic |
burthold
Junior Member
USA
426 Posts |
Posted - 03 September 2002 : 16:33:13
|
New files uploaded.
Minor Bug fixes: Users couldn't move photos from album to album via photo_album_detail.asp fixed. Administrators didn't see photos that needed approval in single album mode from the main photo_album.asp fixed. Edit page didn't display photos with spaces in their names fixed.
Please report any more bugs that are found. The photo album app is a big and complex beast now at around 3000 lines of code, so the more hands the merrier.
Wes |
Edited by - burthold on 03 September 2002 16:38:48 |
|
|
alex042
Average Member
USA
631 Posts |
Posted - 05 September 2002 : 09:01:29
|
I'm not sure if these are implemented, but here are a few things I'd like to see: Byte references changed to KB, max total member album size (I know I can multiply max photos by max photo size, but would like another method also), picture table borders, member directory option, category photos, photo ratings. Btw, duresources.com has a couple of decent photogallery scripts that you might be able to get some more ideas from.
Also, how are thumbnails handled? Are thumbnails that are not server generated in the same directory or a seperate directory? How does the script know if there are non-server generated thumbnails created? Does it resize to thumbnail size to simulate thumbnails for pictures that don't have thumbnails? How about implementing an AspJpeg option? AspJpeg may be available on some servers already without having to install another thumbnailer program on the server. |
Edited by - alex042 on 05 September 2002 09:19:12 |
|
|
burthold
Junior Member
USA
426 Posts |
Posted - 05 September 2002 : 11:14:09
|
Byte to KB is in version 1.5 Picture table borders? There is a border around the full size pic if you set it to not use a pop-up window member directory option? If it isn't set in single album mode you get a list of members with albums. Category photos in version 1.5
I was thinking of total KB in size, the problem is if you don't set a limit to the photo size it could time out the uploader. I didn't think about a photo rating system at all. I'll look into it.
Thumbnails are generated by an external thumbnail program, executed by aspexec since it is a free component I chose to go that route. Thumbnails are the same as the photo name with a tn_ on the front and are stored in user level directory called Tn. If the thumbnail doesn't exist it resizes the full size pic to 100x100. The script doesn't care if it generates the thumbnail or not. If you choose to batch thumbnails and upload them by hand to the user directories as long as they have the tn_ on the front and are the same file name it will pick it up and use it. I didn't want to use a component like aspjpeg because it cost money, money I don't have. Also, it isn't covered by the GPL and I don't want to distribute a component that isn't free. If someone wants to donate components to me I'll be more than happy to code for them.
Thanks for the feed back!
Wes |
|
|
alex042
Average Member
USA
631 Posts |
Posted - 05 September 2002 : 11:37:29
|
quote: Byte to KB is in version 1.5 Category photos in version 1.5
Good. I guess the screenshot version I saw on your website was an older version that didn't seem to have these.
quote: Picture table borders? There is a border around the full size pic if you set it to not use a pop-up window
With this, I meant around the thumbnails also so each thumbnail was seperated by a line border.
quote: member directory option? If it isn't set in single album mode you get a list of members with albums.
Currently, I believe all photos are stored in the same directory. By this option, each member would have not only their own albums, but their own directories to upload files.
quote: I was thinking of total KB in size, the problem is if you don't set a limit to the photo size it could time out the uploader.
Could you combine these features to include both? For example, max 10 photos and 10k each would be 100k max per member, but another option might be to allow max 10 photos, but up the size to 20k each and yet set the max to 100k per member thus allowing up to 5 20k photos or 10 10k photos.
quote: I didn't think about a photo rating system at all. I'll look into it.
There are other gallery scripts that incorporate this feature, but typically, this is underdeveloped and doesn't include stats, etc. One option would be to take a well developed script and tweak it to fit. Minisurvey from 2enetworx.com is a well developed polling application that may be configured for this purpose.
quote: I didn't want to use a component like aspjpeg because it cost money, money I don't have.
If a host has another product from the same company, such as aspupload, they may have aspjpeg installed also. The problem with these components, is that unless someone runs their own server, they may have difficulty getting them installed so it's easier to use components already on the host machine. This is similar to providing code for mail components. You shouldn't have to provide the actual components, but you could provide code for that component. In fact, the component developers provide the code, it would just be inserted into the application. Its actually fairly short and simple code.
|
Edited by - alex042 on 05 September 2002 11:47:24 |
|
|
burthold
Junior Member
USA
426 Posts |
Posted - 05 September 2002 : 12:50:26
|
quote:
Good. I guess the screenshot version I saw on your website was an older version that didn't seem to have these.
Lol, Yeah I don't think I've taken a screen shot since the first version
quote:
With this, I meant around the thumbnails also so each thumbnail was seperated by a line border.
Thats easy I have looked at it with and without borders and thought it looked better without. I'll look again.
quote:
Currently, I believe all photos are stored in the same directory. By this option, each member would have not only their own albums, but their own directories to upload files.
The photos have never been stored in a single directory. Every user gets a directory off the directory setup in the album. All pictures are kept seperate even in single album mode.
quote:
Could you combine these features to include both? For example, max 10 photos and 10k each would be 100k max per member, but another option might be to allow max 10 photos, but up the size to 20k each and yet set the max to 100k per member thus allowing up to 5 20k photos or 10 10k photos.
I'll look at it.
quote:
There are other gallery scripts that incorporate this feature, but typically, this is underdeveloped and doesn't include stats, etc. One option would be to take a well developed script and tweak it to fit. Minisurvey from 2enetworx.com is a well developed polling application that may be configured for this purpose.
Sounds interesting, I haven't had any request for a feature like that. I'll play around with it and see how easy or hard it would be.
quote:
If a host has another product from the same company, such as aspupload, they may have aspjpeg installed also. The problem with these components, is that unless someone runs their own server, they may have difficulty getting them installed so it's easier to use components already on the host machine. This is similar to providing code for mail components. You shouldn't have to provide the actual components, but you could provide code for that component. In fact, the component developers provide the code, it would just be inserted into the application. Its actually fairly short and simple code.
I have looked at aspjpeg I may add it as a feature. I wanted to say away from trying to code for several diffrent thumbnailer options and check to see if they are installed or not. If I get more request I'll start adding thumbnailers I have access to. AspJpeg has a 30 day trial so I can test before releasing it.
Wes
|
|
|
alex042
Average Member
USA
631 Posts |
Posted - 05 September 2002 : 14:01:58
|
quote: Thats easy I have looked at it with and without borders and thought it looked better without. I'll look again.
I have a couple of examples from duresources.com on my site that may give you an idea as to what I'm looking for with this.
quote: Sounds interesting, I haven't had any request for a feature like that. I'll play around with it and see how easy or hard it would be.
Quality isn't always easy. It should be easy to get this as a basic feature, but more difficult to get a quality feature out of it even with precode.
quote: I have looked at aspjpeg I may add it as a feature.
Here's some code I found for aspjpeg:
thumbs.asp <% ' Create an instance of AspJpeg Set Jpeg = Server.CreateObject("Persits.Jpeg") ' Compute path to source image Path = Server.MapPath("images") & "\test.jpg" ' Open source image Jpeg.Open Path ' Decrease image size by 50% Jpeg.Width = Jpeg.OriginalWidth / 2 Jpeg.Height = Jpeg.OriginalHeight / 2 ' Optional: apply sharpening Jpeg.Sharpen 1, 150 ' Create thumbnail and save it to disk Jpeg.Save Server.MapPath("images") & "\test_small.jpg" %>
resize.asp <% '### RESIZE TO BROWSER ### '### SAMPLE CODE TO CALL THIS PAGE ### '<IMG SRC="resize.asp?path=c:\dir\myimage.jpg&width=100">
' IMPORTANT: This script must not contain any HTML tags ' Create an instance of AspJpeg object Set jpeg = Server.CreateObject("Persits.Jpeg") jpeg.Open( Request("path") ) ' Set new width jpeg.Width = Request("width") ' Set new height, preserve original width/height ratio jpeg.Height = _ jpeg.OriginalHeight * jpeg.Width / jpeg.OriginalWidth ' Send thumbnail data to client browser jpeg.SendBinary %>
Maybe you could have the thumbnailer setup as an include so anyone can add in the thumbnailer support they want.
|
|
|
burthold
Junior Member
USA
426 Posts |
Posted - 05 September 2002 : 20:10:59
|
I have the code examples. I decided not to use components that cost was a personal choice. I will add aspJpeg support in the next version because it is pretty easy. If anyone wants another object to use let me know and I will see what I can do about it. Thanks for all the input!
Wes |
|
|
alex042
Average Member
USA
631 Posts |
Posted - 05 September 2002 : 23:19:00
|
quote: I decided not to use components that cost was a personal choice. I will add aspJpeg support in the next version because it is pretty easy.
I don't want to twist your leg. If you don't want to add it, that's no problem. I was just making a suggestion. Don't pay attention to the peanut gallery over here.
|
|
|
RichardC
Starting Member
1 Posts |
Posted - 05 September 2002 : 23:43:19
|
I am trying to get photo album to auto ad users upon registering. Has any one tried this?
you help is appreciated.
Richard |
|
|
mikeach
New Member
USA
58 Posts |
Posted - 06 September 2002 : 01:18:53
|
I just installed this mod and seem to have hit a couple bumps. I'm using 3.4v15 version.
First bump: The tn folders are being created under each added user's folder ok, but the tn_ files never get created. I'm a webhost so I was able to add the dll and give executable permissions to the nconvert file. The dll tests fine with the test files, but I don't have a way to test nconvert. The upload directory is named forumphotos, is directly under the website root, and has write permissions (obviously, it's creating the folders ).
Second bump: Using 2 seperate machines and two seperate accounts, admin and a test user. As admin I uploaded a picture and could see it during approval. After I made it visible I could no longer see it, instead I get the box with the X. When I right clicked and hit properties to see why it was broken it shows the file name as testpic.jpg%20%20 out to about 19 %20's. That's how a browser shows a space, correct? But from the 2nd machine under the test user I could see it in the admin's album fine.
I added the test user and uploaded a file from the second machine. Again I could see the file fine on the first machine under the admin account, until I made it visible. On the 2nd machine I could no longer see either photo.
I went back to the 1st machine and added a few users, then deleted them to test that the folders where being created and deleted. After a few minutes I went back to the second machine and the photos were there. Very strange.
Any ideas?
What about adding a email notification to the admin if he/she has photos waiting to be approved? Possibly with the ability to choose which admin leve user gets the notice.
Mike |
Edited by - mikeach on 06 September 2002 08:28:46 |
|
|
burthold
Junior Member
USA
426 Posts |
Posted - 06 September 2002 : 11:58:27
|
alex042, Oh, not at all I love good healthy disscusion about my product. That's how it becomes better! If I can add those components and test them then I'll add support for them, it's just that simple.
RichardC, There is no feature to have it add users on signup. I may add that in the next version. There is an add users in bulk that will add all users that don't currently have an album. My big consern is people flooding a board with new users and uploading the max files to try to flood a board off.
First Bump.
Dunno. I don't keep the nconvert.exe on the same drive even as the rest of my forums and it works just fine. Usually its a path problem. I am not mapping the path to nconvert so, if you are not giving it the full path i.e. c:\thumbnailer\ in the admin config it won't work. Check that first.
Second Bump.
It's a coding bug. It has been fixed but not released yet. I won't have the fixed code out until Sunday at the earliest I'm on vacation this weekend :)
I just recently got a good hard look at how snitz handles emails and I was thinking about adding it as an option.
Cheers, Wes |
|
|
alex042
Average Member
USA
631 Posts |
Posted - 06 September 2002 : 12:40:50
|
quote: There is no feature to have it add users on signup. I may add that in the next version. There is an add users in bulk that will add all users that don't currently have an album. My big consern is people flooding a board with new users and uploading the max files to try to flood a board off.
It could be setup with the feature disabled for new members by default until the admin enables it for that member.
|
|
|
burthold
Junior Member
USA
426 Posts |
Posted - 06 September 2002 : 16:29:32
|
You are correct it could be setup to turn on and off. It wasn't high on my list of things to code for the last release though, and was partially overcome by having the bulk user add option. I will see if it will make the next cut or not.
Wes |
|
|
cybrman
Starting Member
USA
9 Posts |
Posted - 07 September 2002 : 20:28:15
|
Been looking for some kind of photo album forever. Was very simple to setup....just like snitz_forum! Great application here. Anyway, I said it was simple, however I am having a bit of trouble. Everything seems to be working fine but the images don't display on the page. The files are in the folder and I can access them by typing the path in the address bar of my browser. I looked at the properties for the image and it shows a bunch of trailing spaces or something after the file name. http://my root web/forum/uploads/cybrman/0808021.jpg%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20 The path is correct other than the trailing spaces....any idea what is causing this?
Thanks and keep up the good work.
|
Gain some knowledge share some knowledge....what it's all about! |
|
|
burthold
Junior Member
USA
426 Posts |
Posted - 08 September 2002 : 00:23:03
|
The error was reported 5 post earlier. I have fixed it and it is now up at http://www.wesworld.net/mods/default.asp just download the version you need for your forums. The space bug should have only effected you as admin.
Wes |
|
|
Topic |
|