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

create and save thumbs to hdd ?

Hi there ...

I have trawled these groups and gone through the manual, I have cut
and paste, and tried to alter many examples, but I cant for the life
of me to get this to work ... can someone help?

I have a folder of random sized jpg images. If thumb images do not
exist, I need php to create and save them on the fly (as jpg's).

I have listed the images, and can check if they exist. I now need to
create thumbs of these with the same file name, but with 'thumb_'
tacked on the front.

I run my own server, so installing additions to PHP isn't a problem
....

Cheers in advance,

Eclectic.
Jul 17 '05 #1
1 1727
Eclectic <ec*********@hotmail.com> wrote:
I have a folder of random sized jpg images. If thumb images do not
exist, I need php to create and save them on the fly (as jpg's).

I have listed the images, and can check if they exist. I now need to
create thumbs of these with the same file name, but with 'thumb_'
tacked on the front.
That is failry easy, and many people have made such thingies I presume,
my version is here: http://tmp.tryba.nl/resize/ (as is)

Just link to thumb_foo.jpg and it will create the thumb (if it doesn't
exist) of foo.jpg.
I run my own server, so installing additions to PHP isn't a problem
...


You'll need GD.

Jul 17 '05 #2

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

Similar topics

1
by: Dean J. Garrett | last post by:
I've seen a couple of ASP sites that allow the upload of images and then automatically create a thumb-nail equivalent of the image. Normally, I've required users to upload 2 versions of the image...
0
by: Just Me | last post by:
Given a control1 on a UserControl: After much experimentation I find that the x and y values given to control1.SetBounds(x,y,... needs to have the positions of the scrollbars thumbs subtracted...
1
by: Jon Pope | last post by:
I've got a custom image file type whose contents I would like to have displayed when the user selects View|Thumbnails. I know I need to somehow add these files' images to the folder's THUMBS.DB,...
0
by: Pete Davis | last post by:
I've seen a number of posts by people asking for the file format for Thumbs.db files in Windows XP. This isn't so much an answer to a specific question as a post of how to read them. I've...
3
by: christiang | last post by:
Hi guys, I'd like to use Alexia thumbnail service. It's an interesting service, you pass an url to its cgi and you get a thumbnail of that url. Of course they don't have the screenshots of all the...
0
by: mb5000 | last post by:
Dear friends, I'm design a new website based on PHP, I haveing a module to umpload images (jpg,gif) and upload movies (mpeg,wmv). To create thumbs from the uploading mages I'm using the GD to...
8
by: barb | last post by:
So that the world at large benefits from our efforts, here is one fully documented way to use Windows Irfanview freeware to create thumbnail web galleries (http://www.irfanview.com). STEP 1:...
4
by: DanWeaver | last post by:
I am trying to implement a "thumbs up- down" scoring system- I have an asp: repeater control to spit to my page a series of unique data eg John Yay- 2 Nay 10 Lucy Yay- 5 Nay 12 Susie Yay- 25 Nay...
2
by: jaems | last post by:
When the user clicks a button on my page a series of rather time consuming SQL searches take place before the results are returned to the same page. How can I display something indicating that...
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: 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...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.