Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 24th, 2004, 06:12 AM
Friend of Wrox
 
Join Date: May 2004
Posts: 105
Thanks: 0
Thanked 0 Times in 0 Posts
Default Question for thumbnails and pictures on website

Hello everyone...

I want to make a website that I `ll be able to upload pics.
I want to make those pics to be viewed in thumbnails. I suppose that I have to "pre-arrange" the 'width and height' of the image in the code of my page.

So... here is my problem. Because eventhough the image will be in a very small thumbnail the size of that file will remain the same. Is there anyway to reduse the size of the image while displaing it in thumbnail????

I hope that I was understoodable! Thank you.
 
Old December 25th, 2004, 04:26 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 518
Thanks: 0
Thanked 0 Times in 0 Posts
Default

try this.

<a href="http://localhost/abc/Calender.htm"><img src="http://localhost/abc/sparkle.gif" width="80" height="45" border="0"></a>




 
Old December 28th, 2004, 12:44 AM
Authorized User
 
Join Date: Dec 2004
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to shankhan Send a message via Yahoo to shankhan
Default

Varg i think first u should reduce the image size using adobe photoshop or any other graphics program. then u will have 2 files for each image, 1 is thumbnailed and other one is orignal image. orinal image will be hyperlinked with thumbnailed image.

 
Old December 28th, 2004, 04:16 AM
Friend of Wrox
 
Join Date: May 2004
Posts: 105
Thanks: 0
Thanked 0 Times in 0 Posts
Default

well... The problem is that each user will upload his own image. So he will not be able to upload 2 images (1 thumbnail and 1 image in original size)

I found my solution using FrontPage. There is a function there that converts the image in thumbnail and also is redusing it`s size!

Thank you.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Paginate function with thumbnails dragon_rouge BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 March 13th, 2008 07:52 PM
chapter 7, THUMBNAILS r4n34 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 2 November 24th, 2006 09:26 PM
Quicker way of loading thumbnails katsarosj Pro VB.NET 2002/2003 3 June 29th, 2005 09:42 AM
thumbnails without gd library? cutesneakers PHP How-To 1 January 14th, 2005 05:34 AM
How do you represent thumbnails and image maps? mountainbiker XSLT 0 June 17th, 2004 07:22 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.