Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
VincentRommelaars #1
Thumbnail creation while uploading
Hello,
I'm using the Blob upload extension to upload images to my web-page.
When I want to display a thumbnail of the photo, I force scale the uploaded
image to, let's say a 100 pixel width.
But when I want to display a whole gallery this way, the download procedure
take a lot of time.
Is there a way, that when I upload my image, an extension creates a thumbnail
at the same time?
I hope so.
Thanks
kind regards Vincent
VincentRommelaars Guest
-
[PHP] PDF Thumbnail with PHP?
Unfortunatly, that's not what I'm trying to do. That function will add an image to a PDF file as a thumbnail. What I want to do, is read a PDF... -
ASP thumbnail creator?
I need a simple function to generate and save a thumbnail from a picture. It would require : Source Picture Fileame Thumbnail Height and Width... -
PDF Thumbnail with PHP?
Does anyone know if there is a way to generate a thumbnail of the 1st page of a PDF document using PHP. I have an application that archives PDF... -
Image Thumbnail
Create ACDSee style image Browser, only one minute. download sample from http://www.viscomsoft.com/imagethumbnail.htm -
Thumbnail Behaviors where to put them?
Hi All I'm creating a new Product Review table in my MS Access database with a field for thumbnails for publishing on my web site. When a user... -
danilocelic *TMM* #2
Re: Thumbnail creation while uploading
VincentRommelaars wrote:
What server langauge are you working with?> Is there a way, that when I upload my image, an extension creates a thumbnail
> at the same time?
Maybe these links will help:
[url]http://www.interaktonline.com/Solutions/For-dynamic-sites/Details/Image+upload+with+resize.html?id_sol=12[/url]
[url]http://dmxzone.com/search.asp?SearchString=smart+image+processor&STyp eId=0&Action=Search&Submit=Go[/url]
--
Enjoy,
Danilo Celic
| Extending Knowledge, Daily
| [url]http://www.CommunityMX.com/[/url]
Those who aren't looking often have their eyes open widest.
danilocelic *TMM* Guest
-
Ron Rowell #3
Re: Thumbnail creation while uploading
VincentRommelaars wrote:
First of all, it sounds like your not showing a smaller image> Hello,
>
> I'm using the Blob upload extension to upload images to my web-page.
> When I want to display a thumbnail of the photo, I force scale the uploaded
> image to, let's say a 100 pixel width.
> But when I want to display a whole gallery this way, the download procedure
> take a lot of time.
>
> Is there a way, that when I upload my image, an extension creates a thumbnail
> at the same time?
>
> I hope so.
>
> Thanks
>
> kind regards Vincent
>
(thumbnail) but the large image in a small cell... to do the thumbnail
properly, you should have two images, one full size, and one that is
small,(the small images load fast especially if you can preload) when
the user clicks on the small image, link the large one to it..
use PHP and create a copy of the image you want to upload after you
select it via PHP code, then upload both images into their respective
folders... etc...
this is an example cut from the PHP5 manual:
************************************************** ***********
<?php
// The file
$filename = 'test.jpg';
// Set a maximum height and width
$width = 200;
$height = 200;
// Content type
header('Content-type: image/jpeg');
// Get new dimensions
list($width_orig, $height_orig) = getimagesize($filename);
if ($width && ($width_orig < $height_orig)) {
$width = ($height / $height_orig) * $width_orig;
} else {
$height = ($width / $width_orig) * $height_orig;
}
// Resample
$image_p = imagecreatetruecolor($width, $height);
$image = imagecreatefromjpeg($filename);
imagecopyresampled($image_p, $image, 0, 0, 0, 0, $width, $height,
$width_orig, $height_orig);
// Output
imagejpeg($image_p, null, 100);
?>
************************************************** ***************
Ron Rowell Guest



Reply With Quote

