Re: Creating webpage with resized jpg images
- From: "Veign" <NOSPAMinveign@xxxxxxxxx>
- Date: Wed, 8 Nov 2006 10:02:51 -0500
You could easily (relative term I guess) build a webpage that pulls in
information from a data store (database or file folder) and generate a
thumbnail grid based on the images. You wouldn't even need to create the
thumbnails before hand as you could dynamically create them on the fly.
This, IMO, is the best solution.
See this site:
http://QuickThumbnail.com
This uses a PHP class (have one for ASP.NET which can be used in an ASP
website) that dynamically creates the thumbnails on the fly, per the users
request, and then streams the information to the users browser. By doing
this I only need the main, full size image, stored on the server.
The logic of the page:
- Page is requested by the user
- Information about the images are gathered (filename and quantity)
- A base XHTML compliant page is built
- Thumbnails are generated (using a size constant so it can be easily
changed) using the ASP.NET script and arranged in a grid based on how many
images you want to show on each page.
- This grid is built using XHTML compliant tags and built into the base page
- This base page is whats sent to the user
A book or tutorial on ASP will show you how easy it is to transistion to
from a VB world.
--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
http://www.veign.com/vrc_main.asp
Veign's Blog
http://www.veign.com/blog
--
"Gazza" <gary_windsor@xxxxxxxxxxx> wrote in message
news:1162975309.108758.172610@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi Chris, I am very new to this and must admit not very sure what you
mean. Can you explain further?
Thanks
Gary
Veign wrote:
Just curious why you are going with a method where an application creates
the dynamic type pages instead of build webpages that do all the work for
you.
If you use ASP the syntax of VbScript (used in the ASP pages) is very
close
to VB.
--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
http://www.veign.com/vrc_main.asp
Veign's Blog
http://www.veign.com/blog
--
"Gazza" <gary_windsor@xxxxxxxxxxx> wrote in message
news:1162845468.793827.79290@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi there, thanks for your reply. I dont mean from the webpage, what I
want to do is create my own program to create web pages for me from my
photos. So I will select the photos, the size I want to make them and
the number of photos per line for example and hit the go button. The
output being both the html and the resized pictures.
Gary
Veign wrote:
How do you mean. Actively from the webpage:
http://www.veign.com/vrc_codeview.asp?type=web&id=14
Or prior to uploading:
http://quickthumbnail.com/
Basically in an active webpage you need to either use PHP / ASP.NET or
a
3rd
party component for ASP. This is the professional way so you are not
pushing a large image down the pipe and just resizing on the clients
end.
You really need to be pushing the resized image down the pipe.
The ASP.NET component can be called from any static HTML or ASP page.
The
resulting page does not need to be ASP.NET. The server would just
have
to
support ASP.NET. I also have a class I wrote for PHP that does the
exact
same thing.
I guess where I'm going is we need more information.
--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
http://www.veign.com/vrc_main.asp
Veign's Blog
http://www.veign.com/blog
--
"Gazza" <gary_windsor@xxxxxxxxxxx> wrote in message
news:1162812116.885105.173400@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello,
I want to write a VB program to create webpages for me with resized
jpeg images. I have searched for resizing and now I am completely
confused as to which way to go. Is there an easy way that I can
resize
my images to create thumnails all in my application without using a
secondary peice of SW?
Many thanks in advance.
Gary
.
- References:
- Creating webpage with resized jpg images
- From: Gazza
- Re: Creating webpage with resized jpg images
- From: Veign
- Re: Creating webpage with resized jpg images
- From: Gazza
- Re: Creating webpage with resized jpg images
- From: Veign
- Re: Creating webpage with resized jpg images
- From: Gazza
- Creating webpage with resized jpg images
- Prev by Date: Re: Mystery ... The disappearing VB6 Program
- Next by Date: Re: VB6 Merge Modules and Vista
- Previous by thread: Re: Creating webpage with resized jpg images
- Next by thread: Debugging a user written DLL
- Index(es):
Relevant Pages
|