473,386 Members | 1,758 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Generating thumbnails of a page

Is there anyway to rescale a whole page homogeneously, so that
is looks like a thumbnail?

--
Bruno Barberi Gnecco <brunobg_at_users.sourceforge.net>
Painting, n.:
The art of protecting flat surfaces from the weather, and
exposing them to the critic.
-- Ambrose Bierce
Sep 17 '05 #1
4 1221
Bruno Barberi Gnecco wrote on 17 sep 2005 in comp.lang.javascript:
Is there anyway to rescale a whole page homogeneously, so that
is looks like a thumbnail?


document.body.style.zoom = '5%'

IE5.5+ only??

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Sep 17 '05 #2
Evertjan. wrote:
Bruno Barberi Gnecco wrote on 17 sep 2005 in comp.lang.javascript:

Is there anyway to rescale a whole page homogeneously, so that
is looks like a thumbnail?

document.body.style.zoom = '5%'

IE5.5+ only??


Yes, seems to be a MS extension. I suppose it could be possible
to zoom elements by hand, resizing the fonts and scaling the images,
but it's hard to do it homogeneously.

--
Bruno Barberi Gnecco <brunobg_at_users.sourceforge.net>
Good, fast, and cheap. Choose any two.
Sep 18 '05 #3
Bruno Barberi Gnecco wrote on 18 sep 2005 in comp.lang.javascript:
Evertjan. wrote:
Bruno Barberi Gnecco wrote on 17 sep 2005 in comp.lang.javascript:

Is there anyway to rescale a whole page homogeneously, so that
is looks like a thumbnail?

document.body.style.zoom = '5%'

IE5.5+ only??


Yes, seems to be a MS extension. I suppose it could be possible
to zoom elements by hand, resizing the fonts and scaling the images,
but it's hard to do it homogeneously.


Did you try my advice?
Why not zoom the body element as shown?

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Sep 18 '05 #4
Evertjan. wrote:
Bruno Barberi Gnecco wrote on 18 sep 2005 in comp.lang.javascript:

Evertjan. wrote:
Bruno Barberi Gnecco wrote on 17 sep 2005 in comp.lang.javascript:

Is there anyway to rescale a whole page homogeneously, so that
is looks like a thumbnail?

document.body.style.zoom = '5%'

IE5.5+ only??


Yes, seems to be a MS extension. I suppose it could be possible
to zoom elements by hand, resizing the fonts and scaling the images,
but it's hard to do it homogeneously.

Did you try my advice?
Why not zoom the body element as shown?


Because it only works in IE.

--
Bruno Barberi Gnecco <brunobg_at_users.sourceforge.net>
Sep 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Lemming | last post by:
Hi, I'm putting together a website for a local estate agent. One of the things they want to do is upload property descriptions/prices/etc. plus a picture of the property which is for sale.
1
by: James Smith | last post by:
Hi, I'm having a problem with loading a page full of thumbnails. I'm useing this to load each thumbnail. header("Content-type: image/jpeg"); readfile ($dir."/thumbs/".$filename);
2
by: Jon | last post by:
Hi, I've got 10 image thumbnails generated with GetThumbnailImage down the side of each page of a site. However it seems the thumbnails are being re-generated with every page request rather than...
8
by: Fabricio Sperandio | last post by:
Hi everyone, I am trying to generate some thumbnails using System.Drawing.Image Class. Actually the GetThumnailImage method. The question is: How can I get a better thumbnail picture? I mean,...
1
by: Xah Lee | last post by:
The following is a program to generate thumbnail images for a website. Useful, if you want to do that. It is used to generate the thumbnails for my “Banners, Damsels, and Mores” project...
0
by: rose.kevin | last post by:
Hi I am trying to get Windows Explorer to display thumbnails for my own custom filetype. I have found plenty examples out there telling me how to extract thumbnails from explorer for your own...
4
by: Barely Audible | last post by:
Guys I was wondering if it was possible to have a js file that, when the page loaded, it automatically generated a a set of thumbnails from directory of the page on the web server? Or would...
5
by: JJ | last post by:
I have a gallery-like application. (The gallery will be actually presented in Flash, but the management (cms) of the images will be in asp.net. ) My question is, is it ok to create Thumbnail...
1
by: Jason S | last post by:
I'm looking for some good example pages showing a bunch of image thumbnails, with different aspect ratios, shown in a grid, as I would like to see how someone has approached this issue. any...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.