Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 ASP Thumbnail generator
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 23 September 2003 :  07:48:36  Show Profile
Anyone know if it's possible to create image thumbnails using ASP only, no components? I know it's possible in php.
Basically, I have a folder containing images and would like to show thumbnails of the images before clicking to preview.

The UK MkIVs Forum

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 23 September 2003 :  09:19:54  Show Profile  Visit Gremlin's Homepage
If you just want to make "fake" thumbnails by interpreting the images width and height and then adjusting the width and height on the image tag then thats not to difficult, in fact the code is already in the photo album mod I believe. Download that and take a look at it.


Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 23 September 2003 :  09:30:39  Show Profile
Yeah, I have the photo album mod and have used one of the functions to determine image height when popping up. All the images on the link below are 640x480 with just the width set to 100, all images are over 100K and therefore slow to load for 56K modem users. I need something like http://www.aspupload.com/aspjpeg.html but in ASP!

http://www.uk-mkivs.net/forum/uk_gallery4.asp?folder=cgtimm2003

The UK MkIVs Forum
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 23 September 2003 :  09:31:28  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
quote:
create image thumbnails using ASP only, no components?

I have been searching for something like this some time ago, but wasn't able to find anything that didn't require any components.
If you find anything, David, let me know please.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 23 September 2003 :  18:28:03  Show Profile
I looked and looked until I broke down and bought the component ASPImage. Everything I found was basically just getting the size of the image and setting the width/height in the image tags.


This account was hacked into by Image, a very honest guy as you all can see! Stealing people's passwords is his pasttime.
Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 23 September 2003 :  20:59:12  Show Profile
If your server has .NET there are some graphic functions in .NET that will let you create a thumbnail (resize images).

======
Doug G
======
Computer history and help at www.dougscode.com
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 24 September 2003 :  04:59:20  Show Profile
That's what I think i'll end up doing, put an ASP.NET page inside an iframe in an ASP page

This looks to be the solution
http://aspnet.4guysfromrolla.com/articles/012203-1.aspx

The UK MkIVs Forum

Edited by - DavidRhodes on 24 September 2003 05:15:12
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 27 September 2003 :  10:50:58  Show Profile
I've been playing with that 4guys code, but it seems after I view the image contents of a directory I can no longer delete the same image files from that directory.

I don't know much at all about aspx, can anyone lend a hand quickly ?
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 27 September 2003 :  11:04:51  Show Profile
I'm using this http://www.codeproject.com/aspnet/thumbtools.asp on http://www.uk-mkivs.net/forum/uk_gallery.asp?Folder=cgtimm2003

Easy to use, just upload the ASPX page to your site root, see the properties of the images in my page above for an example

The UK MkIVs Forum
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 27 September 2003 :  11:30:00  Show Profile
I'll have a look at the ThumbTools, but I took a quick peek at your site and when I click on the thumbs the popups resize to very small.

The 4guys code is great, but it seems to place some sort of lock on the files that I'm trying to track down.
Go to Top of Page

Bullschmidt
New Member

USA
56 Posts

Posted - 30 September 2003 :  22:10:33  Show Profile  Visit Bullschmidt's Homepage
And if decide need to use a component:

How do I create / manipulate images from ASP? - 5/10/2001
http://www.aspfaq.com/faq/faqShow.asp?fid=76

J. Paul Schmidt, Freelance ASP Web Developer
www.Bullschmidt.com
Classic ASP Design Tips, ASP Web Database Sample (Freely Downloadable)
Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 30 September 2003 :  22:15:30  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
I use ASPImage and I love it.

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 30 September 2003 :  22:43:10  Show Profile
Yes, but the 4guys code works with no components at all ... the original request of this thread. The only problem with the 4guys code is that you need .Net - no problem in my situation, but it could be hard on others.
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 01 October 2003 :  05:13:19  Show Profile
quote:
Originally posted by Bullschmidt

And if decide need to use a component:

How do I create / manipulate images from ASP? - 5/10/2001
http://www.aspfaq.com/faq/faqShow.asp?fid=76




You don't need a component for that code, it'll work in ASP. Looks useful if .Net is not available on your server

The UK MkIVs Forum
Go to Top of Page

instantnet11
New Member

USA
69 Posts

Posted - 01 October 2003 :  13:43:01  Show Profile  Visit instantnet11's Homepage  Send instantnet11 an AOL message  Send instantnet11 an ICQ Message  Send instantnet11 a Yahoo! Message
Most of this code create thumbnails on the fly. Is there a way to do it where an actual thumbnail is created when using an upload form?

I have a great script for cold fusion if anyone is interested.
The problem with the upload for coldfusion is the permissions have to be set to read write for guest for some reason though it seems to work using asp. (I didnt write that code either so couln't tell you why)

Thanks
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 02 October 2003 :  06:33:41  Show Profile
If you look at the photo album mod, that creates thumbnail when images are uploaded

The UK MkIVs Forum
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07