473,811 Members | 2,380 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Programmaticall y generate jpg thumbnails

Hello,

I'm looking for a simple way to programmaticall y generate thumbnails
from uploaded jpgs in PHP. It doesn't need to be too fancy either.
Any thoughts?

Thanks,
Jay

Oct 13 '06 #1
4 2558
Hmm Jay Hamilton <ja***********@ gmail.comwrote:
I'm looking for a simple way to programmaticall y generate thumbnails
from uploaded jpgs in PHP. It doesn't need to be too fancy either.
Any thoughts?
RTFM
--
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ ~~~~~~~~~~~~
Ikciu | gg: 718845 | yahoo: ikciu_irsa | www: www.e-irsa.pl

2be || !2be $this =mysql_query();
Oct 13 '06 #2
Jay Hamilton wrote:
Hello,

I'm looking for a simple way to programmaticall y generate thumbnails
from uploaded jpgs in PHP. It doesn't need to be too fancy either.
Any thoughts?
http://php.net/imagecopyresized
or
http://php.net/imagecopyresampled

See examples and user comments to see how to use these.

--
Kim André Akerø
- ki******@NOSPAM betadome.com
(remove NOSPAM to contact me directly)
Oct 13 '06 #3
Message-ID: <11************ **********@i3g2 000cwc.googlegr oups.comfrom
Jay Hamilton contained the following:
>
I'm looking for a simple way to programmaticall y generate thumbnails
from uploaded jpgs in PHP. It doesn't need to be too fancy either.
Any thoughts?

http://www.walkingoutdoors.co.uk/Geo...ry/gallery.zip

In action at

http://www.walkingoutdoors.co.uk/Geoff/phonepics/

--
Regards,

Geoff Berrow
Oct 13 '06 #4
Thanks Geoff, thanks Kim, just what I was looking for!

Geoff Berrow wrote:
Message-ID: <11************ **********@i3g2 000cwc.googlegr oups.comfrom
Jay Hamilton contained the following:

I'm looking for a simple way to programmaticall y generate thumbnails
from uploaded jpgs in PHP. It doesn't need to be too fancy either.
Any thoughts?


http://www.walkingoutdoors.co.uk/Geo...ry/gallery.zip

In action at

http://www.walkingoutdoors.co.uk/Geoff/phonepics/

--
Regards,

Geoff Berrow
Oct 13 '06 #5

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

Similar topics

5
3673
by: Ken | last post by:
I am in the process of designing my first web-site, and am having a problem with my picture gallery. My thumbnails are all different sizes, I would like them to be one size. The manual does not address this situation. Where did I go wrong?
6
2873
by: ALthePal | last post by:
Hi, I'm not sure if we are able to or even how to loop through the web forms in a VB.NET project during design time. In MSAccess we are able to go through the database -> forms collection and loop through all the forms in a database and pull information about the form (controls and properties). We would need to do the same in our VB.NET project; loop through the project and get the web form's control and property information...
1
2375
by: Espen Evje | last post by:
Hi, I am trying to present the images in a folder as thumbnails in a dynamically created asp:table. I however do not want to save the thumbnails to disk, only show the images in this folder as thumbnails and then forget about them. I've seen a lot of samples using a datagrid/list and automatically bind thumbnails to these controls, but it does not meet my requirements. I've also seen a sample where the thumbnail of one image is...
1
16596
by: Arpan | last post by:
The following ASPX code snippet creates a DataSet programmatically right from the scratch: 'create an empty DataSet Dim objDS As New DataSet("MyDataSet") 'create a new table & add columns Dim dTable As New DataTable("Users") dTable.Columns.Add("ID",System.Type.GetType("System.Int32")) dTable.Columns.Add("FirstName",System.Type.GetType("System.String")) dTable.Columns.Add("LastName",System.Type.GetType("System.String"))
2
2229
by: jjack100 | last post by:
In asp.net 2.0 you can apply custom themes based on a user profile, etc. And you can change the theme programmatically, etc. But how do you edit or create a theme programmatically? I am working on a content management system where the user needs to be able to select fonts, colors, etc. Right now I can only see how to let the user select from a pre-defined set of themes. In the old days, you could generate the css file from user input...
2
9461
by: Thu | last post by:
I store me reporting data in MS Access table, and I need to programmatically generate XML file (in text) that loads these data, include all these data with appropriate definition, i.e. root, elements, entities, and sends these data to another party on daily basis. Does anyone know the easiest way to achieve this? Is there a class that loads data from MS Access, match them with definition files, and generate XML text file automatically?
16
7431
by: Phil Hey | last post by:
Hi, I can change the icon for a folder by right clicking on it > going to the customize tab > and selecting Choose Picture. Does anyone know if it is possible to do this programmatically from a windows forms application?
5
1994
by: JJ | last post by:
I have a gallery-like application. (The gallery will be actually presented in Flash, but the management (cms) of the images will be in asp.net. ) My question is, is it ok to create Thumbnail images on the fly by resizing the original sending it to the output stream (i.e. Response.ContentType = "image/jpeg"; Response.BinaryWrite(imageContent) ), or best to actually save the thumbnails to disk. Would this method result in a much slower...
11
2972
by: =?Utf-8?B?UGV0ZXIgSw==?= | last post by:
I am working with Visual Studio or alternately with Expression Web. I need to create about 50 aspx pages with about 1200 thumbnali images, typically arranged in three to four groups per page, having hyperlinks to the corresponding full size images. Can anybody point me to locations in MSDN or elsewhere giving the references to attach, the commands & objects for creating or opening the pages and possibly available classes? I have done...
0
9734
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10395
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10408
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9211
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7673
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6895
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5561
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5700
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4346
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.