473,382 Members | 1,563 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,382 software developers and data experts.

HTML Preview


Hi @all,

I will realize the following:
My Webserver has a couple of html-files stored in
a directory. On my asp I will display an Preview of all
files as Thumbnails. How can I do that ?

Thanks in advance,

Chris
May 24 '06 #1
3 1259
If your content is static (just html) and only a couple of pages as
stated then the simplest way would be to create the images manually and
display them on your Preview page.

If not then there appear to be a lot of toolkits available to generate
thumbnails dynamically. A Google search returns "webkit2png" as one of
the highest ranked.

May 24 '06 #2

Thanks Richard for reponse,

I have static html-files on my filesystem, so a preview page would be nice.
Have you any code snippets ?
Chris,
"Richard Brown" <ri***************@gmail.com> schrieb im Newsbeitrag
news:11**********************@y43g2000cwc.googlegr oups.com...
If your content is static (just html) and only a couple of pages as
stated then the simplest way would be to create the images manually and
display them on your Preview page.

If not then there appear to be a lot of toolkits available to generate
thumbnails dynamically. A Google search returns "webkit2png" as one of
the highest ranked.


May 24 '06 #3
Chris,

It's not something I done personally but I would imagine that based on
what you've said you want your code would look something akin to:

<table>
<tr>
<td>
<asp:HyperLink id="hp1" runat="server"
ImageUrl="http://atp.nlb-online.org/Lessons/unit6/unit6.4/images/search.gif"
NavigateUrl="http://www.google.com"></asp:HyperLink>
</td>
<td>
Description of page 1
</td>
</tr>
<tr>
<td>
<asp:HyperLink id="hp2" runat="server"
ImageUrl="http://battellemedia.com/images/1995.jpg"
NavigateUrl="http://www.yahoo.com"></asp:HyperLink>
</td>
<td>
Description of page 2
</td>
</tr>
</table>

Obviously how you format your page is up to you.

May 24 '06 #4

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

Similar topics

71
by: tomy_baseo | last post by:
I'm new to HTML and want to learn the basics by learning to code by hand (with the assistance of an HTML editor to eliminate repetitive tasks). Can anyone recommend a good, basic HTML editor that's...
1
by: Hose B | last post by:
HI all, I have a legacy app in which users can pick various page templates. There is a template preview dialog. It works such that they view a list of icons in an asp page that represent each...
2
by: Gernot Frisch | last post by:
Hi, I'd like to have an textarea, where I type HTML code. While typing, I'd like to see the result at the bottom of the page (in a DIV?) to be show. Can you help? -- -Gernot int main(int...
7
by: Xah Lee | last post by:
Summary: when encountering ex as a unit in css, FireFox (and iCab) did not take into account the font-family. Detail: http://xahlee.org/js/ff_pre_ex.html Xah xah@xahlee.org ∑...
6
by: Gabriella | last post by:
Hi, I have a textarea, where the user can enter any given string. He can also insert HTML tags, if he/she wishes. Once I obtain the textarea's string as HTML through form.body.innerHTML, I...
3
by: dvdastor | last post by:
Hello, Is there a way that anyone knows of to preview an HTML string and have it formatted as HTML in a PrintPreviewDialog? In other words, can the PrintDocument that is required for this...
4
by: Steve Swift | last post by:
I have a page that accepts user input, including HTML. I would like to offer a preview of what the users HTML will look like, but I'd also like to avoid having to parse their HTML to ensure that it...
42
by: Santander | last post by:
how to decode HTML pages encoded like this: http://www.long2consulting.com/seeinaction2008/Simplicity_Beach_table/index.htm Is there script that will do this automatically and generate normal fully...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.