How to create a thumbnail image of html content stored in a database

If you were to convert this html content into a small thumbnail image , how would you do it?

P.S. I'm trying to do this to allow users on my site to browse through their posts(containing html elements (e.g. strong, i, img tag's).

-------------Problems Reply------------

See here:

http://www.thumbalizr.com/index.php

They have a pretty decent simple API

Simple syntax to use the API: http://api.thumbalizr.com/?url=http://www.ford.de&width=250

Parameter:

Check http://api.thumbalizr.com for more details.

So you can simply have <img src='http://api.thumbalizr.com/?url=http://www.yourdomain.com&width=250' />

Also see http://www.websnapr.com/ and their implementations page

try http://www.zubrag.com/scripts/website-thumbnail-generator.php

Category:javascript Views:0 Time:2010-11-30

Related post

  • rails 3 dynamically create a model with attributes that are stored in a database table 2011-04-21

    I am creating a ruby on rails application which stores a users favourite publications and have stumbled across a problem and need some help. The user is able to add as many different types of publications as they choose, such as books, movies, newspa

  • how to create file download link to a file stored in MYSQL database with PHP? 2011-11-14

    I know I can just upload the file to a folder in my server, save the directory location to the MYSQL database, and create a download link based on that directory location but what happens when you store a file like a pdf or zip archive directly on th

  • What is the "best" way to create a thumbnail using ASP.NET? 2008-08-26

    Story: The user uploads an image that will be added to a photo gallery. As part of the upload process, we need to A) store the image on the web server's hard drive and B) store a thumbnail of the image on the web server's hard drive. "Best" here is d

  • WCF Service to Create Video Thumbnails 2009-01-13

    I am trying create a WCF service that leverages the WPF MediaPlayer on the server to generate thumbnails for a video that a user uploads. I found a lot oif info on how to render a frame and save it to a file. But the problem is the key event MediaOpe

  • How do you create a thumbnail image out of a JPEG in Java? 2009-07-01

    Can someone please help with some code for creating a thumbnail for a JPEG in Java. I'm new at this, so a step by step explanation would be appreciated. --------------Solutions------------- Image img = ImageIO.read(new File("test.jpg")).getScaledInst

  • Having an image file buffer in memory, what is the fastest way to create its thumbnail? 2009-08-22

    Trying to create a an image acquiring application optimized for a fast scanner (which can provide up to 6 compressed images [color+gray+binary][front+rear] for each paper at speed of 150 ppm) I have some speed issues. Using TWAIN technology and memor

  • Create image Thumbnails before or after upload the best way? 2009-10-16

    Imagine you have a classifieds website... When searching ads you want image thumbnails of the "real" image which displays in its real size after clicking the ad... Would it be faster to create the thumbnails per search, or create the thumbnails on an

  • Create a thumbnail with PHP 2009-12-21

    I have a page which lists a load of portfolios. I am trying to write a script which will look in a specific folder of images (the projects image folder) for a image called portfolio.jpg. When this image is found the image would be resized to a specif

  • Is it possible to create a thumbnail image from a PDF file with Coldfusion 8? 2009-12-23

    Is it possible to create a thumbnail image from a PDF file using Coldfusion 8? (thumbnail of a given page, defaulting to page 1) --------------Solutions------------- Generate thumbnails from pages in a PDF document <cfpdf required action = "thumbn

  • Dynamically create image thumbnails (using django) 2010-01-21

    I would like to dynamically create thumbnails based on parameters in the URL. For example, http://mysite.com/images/1234/120x45.jpg would create a 120x45 thumbnail for image id 1234. The obvious solution to this is to have a django view which does th

  • Create a thumbnail of a dwg in in a linux environment 2010-03-23

    Creating a ruby on rails site that uses RMagick to create thumbnails for many types of images. RMagick cannot read dwg files however. I've tried a few things, looked into the Java library JDWGLib, which would probably allow me to write a converter, b

  • how to create image thumbnails using django running on jython? 2010-05-05

    I need to create and save image thumbnails in database. I am using django running on jython and mysql database. I was exploring python imaging library, but the i found out that i wont work with jython. How do i create image thumbnails using jython an

  • I want to create multiple thumbnails using GD library in php, which is better creating on the fly or creating physical one? 2010-05-27

    Dear all, I want to create multiple thumbnails using GD library in php, and I already have a script to do this, the question is what is better for me .. is it better to create thumbnail on the fly? or create a physical file on my server each time I w

  • How to create PNG thumbnail if "imagecreatefrompng()" fails? 2010-10-29

    I start to create a PNG thumbnail by using this function: $image = imagecreatefrompng("http://imagenic.net/images/pfujz9j5juav1qrex00.png"); However, it says: 'http://imagenic.net/images/pfujz9j5juav1qrex00.png' is not a valid PNG file It works OK wi

  • How to create a thumbnail from PDFs or various other document files? 2010-11-24

    What would be the best way to create a thumbnail image from a PDF or various other document files? --------------Solutions------------- You might find some useful answers in this related question. In general, you need to be able to "rasterize" the fi

  • Rails creating a thumbnail gallery in my view 2011-01-12

    I currently have an Array that contains some URL's to images. @images = [ "http://site/images/01.jpg", "http://site/images/02.jpg" ] Total 18 images I would like to take this array and create a thumbnail gallery where the gallery is 3 columns across

  • create Document thumbnail when you upload the file using php 2011-02-17

    I need to create a thumbnail for office documents which are uploaded using php. I already have a solution. Steps: 1. Upload the file. 2.Run a shell script which will use openoffice to convert into PDF and from PDF using ghostscript and imagemagic cre

  • Create image thumbnail with rounded corners 2011-03-10

    I need to create a thumbnail image with transparent rounded corners. Before this requirement I used the simple: using (var b = new Bitmap(dataSize.Width, dataSize.Height, PixelFormat.Format32bppArgb)) using (var g = Graphics.FromImage(b)) { g.Interpo

  • Creating multiple thumbnails in ImageMagick / GraphicsMagick 2011-03-25

    I'm currently writing a shellscript for Bash, that will create different size thumbnails for some rather massive amounts of large images. I was wondering if it's possible to get GM/IM to create multiple sizes of thumbs in one run, to avoid loading th

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.220 (s). 11 q(s)