The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
This is what I want:
- user click a link in the user profile
- user can upload 5 pics (via pop-up-window?)
- thumbs are created
- the pics are displayed automatically in profile
I can probably solve the display by renaming the pics to 1.jpg, 2.jpg and so on and have static links in the profile. But how do I upload the pics and rename them? I was thinking that maybe I could use the code for the file sharing mod, but how do I make it rename the pics? And the thumbnailing won't be done without any components I suppose? This is the code for uploading to the file sharing mod:
http://www.gotlandrace.se/tabort/pop_upload_new.txt<
- user click a link in the user profile
- user can upload 5 pics (via pop-up-window?)
- thumbs are created
- the pics are displayed automatically in profile
I can probably solve the display by renaming the pics to 1.jpg, 2.jpg and so on and have static links in the profile. But how do I upload the pics and rename them? I was thinking that maybe I could use the code for the file sharing mod, but how do I make it rename the pics? And the thumbnailing won't be done without any components I suppose? This is the code for uploading to the file sharing mod:
http://www.gotlandrace.se/tabort/pop_upload_new.txt<
/Tribaliztic
- www.gotlandrace.se -
- www.gotlandrace.se -
Posted
Noone?
Zuel I KNOW that you're itching to solve this.. ;)
<
<
/Tribaliztic
- www.gotlandrace.se -
- www.gotlandrace.se -
Posted
This would be hot.
It's definitely out of my league though, but I'm helping you up this in hopes
somebody comes along.
If I may suggest a size limit might come in handy especially with cameras nowadays going
way over 6 megapixels and with that images that go way over 2 mb per piece...not cool if
you have a couple hundred members all uploading their pics.
Greets, D<
somebody comes along.
If I may suggest a size limit might come in handy especially with cameras nowadays going
way over 6 megapixels and with that images that go way over 2 mb per piece...not cool if
you have a couple hundred members all uploading their pics.
Greets, D<
Posted
Well, then a auto resize would have to be used when before creating the thumbs or something. Also out of my league so I'll keep my fingers crossed that someone will have mercy =)
<
<
/Tribaliztic
- www.gotlandrace.se -
- www.gotlandrace.se -
Posted
I'd recommend using a component, which you'll need for resizing anyway.
What components do you have available on your server?<
Posted
well... Don't know really, I'll have a look if I can find out how to list all components...
<
/Tribaliztic
- www.gotlandrace.se -
- www.gotlandrace.se -
Posted
This script might help.
<
Posted
This could be done in php also if anyone would like to =) Since it's in a pop-up that should be no problem afaik...
<
/Tribaliztic
- www.gotlandrace.se -
- www.gotlandrace.se -
Posted
Originally posted by OneWayMule
This script might help.![]()
Thanks! =)
Is it supposed to take really long time to run the script? It's been running since my last post and still nothing.. <
/Tribaliztic
- www.gotlandrace.se -
- www.gotlandrace.se -
Posted
Takes a few seconds usually... what server are you on?<
Posted
win2k
seems like all asp-pages stopped working (I had to abort the script). txt-files show allright though. I'm just about to reboot the server and try again. <
seems like all asp-pages stopped working (I had to abort the script). txt-files show allright though. I'm just about to reboot the server and try again. <
/Tribaliztic
- www.gotlandrace.se -
- www.gotlandrace.se -
Email Member
Message Member
Post Moderation
FileUpload
If you're having problems uploading, try choosing a smaller image.
Preview post
Send Topic
Loading...