Re: Creating webpage with resized jpg images

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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





.



Relevant Pages

  • Problem with Images saved as thumbnails
    ... I am attempting to save images as thumbnails in FP 2000. ... other tools are highlighted on the tool bar. ... there is a limit on the number of thimbnails on a webpage ...
    (microsoft.public.frontpage.client)
  • Re: Problem with Images saved as thumbnails
    ... Are you making thumbnails from the ... > I am attempting to save images as thumbnails in FP 2000. ... > other tools are highlighted on the tool bar. ... > there is a limit on the number of thimbnails on a webpage ...
    (microsoft.public.frontpage.client)
  • Re: OT: Simple script now avaliable so people can view images in any directory in your webspace
    ... > That last warehouse pics related post led me to create this script. ... > "Got a directory in your webspace full of images and no time to make a ... > when placed in a directory, will create a simple webpage that displays ... > thumbnails for every image within that directory. ...
    (rec.games.video.arcade.collecting)
  • Re: Website review sought - comments invited
    ... jewellery and for ease of access it is now available through ... The thumbnails load first and you get to see them. ... While you are looking at the thumbnails, the bigger images are ...
    (rec.crafts.jewelry)
  • Re: Only load actually visible items?
    ... Lets say i have a folder with 2500 images, and at any given time i can ... It's simply a question of whether the control is shown when it's ... finish producing the thumbnails when i view a folder, ...
    (microsoft.public.dotnet.languages.csharp)