chrometweaks.org

Is there any way to use a free iPage hosting service to host domains?

Click Here To View All Answers...


First question I have is Is there any way to use a free iPage hosting service to host domains? Thanks for any comment. My 2nd question... Here is my problem:.

My iPage site is currently live and receiving a large amount of traffic, the problem is, my images are so large no one is willing to wait to download them. I currently have my images coming directly from an outside iPage website (they are not saved at all on my server)..

I have tried every single image resizer and thumbnail creator in the contributions section with no success, because they all use images saved on your server, not outside images..

Does anyone know how I can create jpg thumbnails out of these images without saving them on my server (there are thousands of images).

If you need to look at the iPage site it is:.

Http://www.getawatch.com..

Comments (58)

Yes sir! although you might wanna make sure and wait for another person here to confirm it as I am not very confident. Better yet, why don't you e-mail the iPage guys because they can assist you better...

Comment #1

If I correctly understand what you said, you can use this piece of code from bpiere21 et hotmail dot com on www.php.net.

### imagecreatefromjpeg only opens JPEG files from your disk..

### To load JPEG images from a URL, use the function below..

Function LoadJPEG ($imgURL) {.

## Get Image file from Port 80 ##.

$fp = fopen($imgURL, "r");.

$imageFile = fread ($fp, 3000000);.

Fclose($fp);.

## Create a temporary file on disk ##.

$tmpfname = tempnam ("/temp", "IMG");.

## Put image data into the temp file ##.

$fp = fopen($tmpfname, "w");.

Fwrite($fp, $imageFile);.

Fclose($fp);.

## Load Image from Disk with GD library ##.

$im = imagecreatefromjpeg ($tmpfname);.

## Delete Temporary File ##.

Unlink($tmpfname);.

## Check for errors ##.

If (!$im) {.

Print "Could not create JPEG image $imgURL";.

}.

Return $im;.

}.

$imageData = LoadJPEG("http://www.example.com/example.jpg");.

Header( "Content-Type: image/jpeg");.

Imagejpeg($imageData, '', 100);.

###########.

With this, you could open your pictures, resize them (imagecopyresized) , and store the thumbnails on your server by usign (imagejpeg)..

You could probably find already coded script on the net for this..

Hope it helps..

This post has been edited by.

Icemaxou.

: 25 June 2004, 09:33..

Comment #2

Yes, I would like to create thumbnails and store them on my server, but not store the images. The images are actually bitmap images, and I want the thumbs in jpg format...

Comment #3

You should not use bitmap images - convert them to a format suitable for the web.

Search 'thumbnail' in the contributions section - there is at least one contribution that will create and store the thumbs..

Matti..

Comment #4

I think no contribution could create thumbnails from bitmap format, because no PHP function could do this. As this is not a standard web format, the only way to do is to download file then convert and resize them with a picture software..

You also could find executable that make the conversion and run it from PHP with system() fonction, but it will probably be slow..

This post has been edited by.

Icemaxou.

: 28 June 2004, 08:59..

Comment #5

Here is my problem:.

My iPage site is currently live and receiving a large amount of traffic, the problem is, my images are so large no one is willing to wait to download them. I currently have my images coming directly from an outside iPage website (they are not saved at all on my server)..

I have tried every single image resizer and thumbnail creator in the contributions section with no success, because they all use images saved on your server, not outside images..

Does anyone know how I can create jpg thumbnails out of these images without saving them on my server (there are thousands of images).

If you need to look at the iPage site it is:.

Http://www.getawatch.com..

Comment #6

Do you mean you want to store the thumbnails on your iPage site but not the original images?..

Comment #7


This question was taken from a support group/message board and re-posted here so others can learn from it.