Re: [PHP] Image Submits to Forms

2005-03-04 Thread Marek Kilimajer
Marquez Design wrote: Greetings, I am trying to create a form that will do the following: First, select a page from a select box, Second, click on a button on the side that will do a specific function. Select page, then with the delete button, delete the file, Select page, then with the edit

Re: [PHP] Image Creation

2005-02-15 Thread Richard Lynch
Aaron Todd wrote: I just wrote a little script to play around with the GD library but I am having a problem displaying it in the browser. I have not problem at all when I just run the script. But I was trying to make the image in a custom function which will return the image when its

Re: [PHP] Image Creation and Saving

2005-01-31 Thread Jochem Maas
NathanielGuy#21 wrote: Yes, I was mainly wanting to know if I needed to call it at all with what I was doing. not unless you want to create a new image (and add some part of another image to it, add some text etc) and output that. also IIRC its only available in GDlib 2.0.x and up. On Sun, 30 Jan

Re: [PHP] Image Creation and Saving

2005-01-30 Thread hitek
Are you making sure the $_SESSION['user_sn'] folder exists before saving the image into it? I'm asking because I originally thought it was a permission problem but php will tell you 'permission denied' if that was the case. At 05:05 PM 1/29/2005, NathanielGuy#21 wrote: Hello everyone, I have

Re: [PHP] Image Creation and Saving

2005-01-30 Thread NathanielGuy#21
Ah, thank you. after checking that the folder was there I found I had made a mistake in the path to the folder. 8_ I can believe I didnt find it before. Aside from that error, did I go about the image resizing and everything in the correct way? What is the use of imagecreatetruecolor(). Thanks

Re: [PHP] Image Creation and Saving

2005-01-30 Thread Jochem Maas
NathanielGuy#21 wrote: Ah, thank you. after checking that the folder was there I found I had made a mistake in the path to the folder. 8_ I can believe I didnt find it before. Aside from that error, did I go about the image resizing and everything in the correct way? What is the use of

Re: [PHP] Image manipulation without GD library

2005-01-26 Thread Marek Kilimajer
Tim Burgan wrote: Hello, Is there any way that I can do some image manipulation - resizing - without the GD libraries? Can you execute imagemagic's mogrify? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Image manipulation without GD library

2005-01-26 Thread Richard Lynch
Tim Burgan wrote: Is there any way that I can do some image manipulation - resizing - without the GD libraries? You can use ImageMagik (aka 'convert') through http://php.net/exec if ImageMagik is installed, and the PHP user can run it. I'm guessing that the same could be said for the GIMP

Re: [PHP] Image Resolution

2005-01-26 Thread Richard Lynch
Martin Magnusson wrote: Hi, I have written a script that takes an uploaded jpeg-image and places it in a PDF-file with the PDFLib functions in php. The original image file is 560x420, 72 dpi. Later on the PDF-file will be printed, and our printshop requires at least 200 dpi. The format of

Re: [PHP] Image copying

2005-01-07 Thread Liam Gibbs
Richard, thanks. This made it much clearer. I read this, then stepped away and thought about it later and it makes so much more sense. Basically, I guess I ended up with the result IMG SRC = Resource id #x in my HTML. Man, I thought I was telling it to print the results of the resource ID, but it

Re: [PHP] Image copying

2005-01-06 Thread Jason Wong
On Thursday 06 January 2005 14:24, Liam Gibbs wrote: What I'm trying to do is copy one JPEG to another JPEG (as mentioned) on the fly. I don't want to have a new file produced, just a modified JPEG (a few circles here and there) held in a resource. Here's how I call my function and how I

Re: [PHP] Image copying

2005-01-06 Thread Richard Lynch
Liam Gibbs wrote: print(IMG ALT... HEIGHT... WIDTH... SRC = \ . copy_pic($sourcepic) . \); So I'm calling the function straight from the SRC attribute of the IMG tag. Here's what's in my function: function copy_pic($sourcepic) { if(file_exists($sourcepic)) { $destinationpic =

Re: [PHP] Image wrapper not multithreaded

2004-12-06 Thread Marek Kilimajer
Michael Minden wrote: Hi, I wrote a script for a webcam overview that downloads images form different locations like this: ?php $image = imagecreatefromjpeg($imgurl); header(Content-Type: image/jpeg); imagejpeg($image); ? I call it a few times inside an html file like this: img

Re: [PHP] image uploads - part 2

2004-11-06 Thread Robby Russell
On Sat, 2004-11-06 at 03:58 -0800, Jaskirat Singh wrote: 4) database + dedicated = err.. stupid? ;) I should have clarified this more as to why I prefer the DB storage method. I don't expect that my web application will be the only interface to the data that I am storing the database. For some

Re: [PHP] image files - upload and managment

2004-10-31 Thread Greg Donald
On 30 Oct 2004 22:30:35 -, Matthew Weier O'Phinney [EMAIL PROTECTED] wrote: I have difficulty believing retrieving an image from a database will have similar speed performance as simply grabbing it from the filesystem... and if you're seeing a need to cache images on the filesystem

Re: [PHP] image files - upload and managment

2004-10-30 Thread Jason Wong
On Saturday 30 October 2004 09:43, Jaskirat Singh wrote: 1) Storage and retrieval - File system sounds like a better choice over database. We are talking about 20 thousand plus pictures. Using a file system is usually the better choice. With the quantity of files you're handling it might be

Re: [PHP] image files - upload and managment

2004-10-30 Thread Robby Russell
On Sat, 2004-10-30 at 02:43 -0700, Jaskirat Singh wrote: Hi People, I am writing a web app on LAMP. The app is sort of yellow pages where people can login and post advertisments with pictures. App needs to allow users to upload pictures. (jpg and gif), needs to create thumbnails of those

Re: [PHP] image files - upload and managment

2004-10-30 Thread raditha dissanayake
Robby Russell wrote: On Sat, 2004-10-30 at 02:43 -0700, Jaskirat Singh wrote: Hi People, I am writing a web app on LAMP. The app is sort of yellow pages where people can login and post advertisments with pictures. App needs to allow users to upload pictures. (jpg and gif), needs to create

Re: [PHP] image files - upload and managment

2004-10-30 Thread Matthew Weier O'Phinney
* Robby Russell [EMAIL PROTECTED]: On Sat, 2004-10-30 at 02:43 -0700, Jaskirat Singh wrote: App needs to allow users to upload pictures. (jpg and gif), needs to create thumbnails of those pictures and to store thumbnails and full pictures. App needs to manage all those files - can be

Re: [PHP] image files - upload and managment

2004-10-30 Thread Robby Russell
On Sat, 2004-10-30 at 22:30 +, Matthew Weier O'Phinney wrote: * Robby Russell [EMAIL PROTECTED]: On Sat, 2004-10-30 at 02:43 -0700, Jaskirat Singh wrote: App needs to allow users to upload pictures. (jpg and gif), needs to create thumbnails of those pictures and to store thumbnails

Re: [PHP] image files - upload and managment

2004-10-30 Thread Jason Wong
On Saturday 30 October 2004 23:06, Robby Russell wrote: I understand the argument regarding a future change in thumbnail sizes. However, generating thumbnails on a filesystem of images is something that is easily scripted and can be performed on an as-needed basis. (ImageMagick is great

Re: [PHP] Image upload not working correctly

2004-10-14 Thread Dave Grant
Thanks for the reponse. Yes, the destination paths look fine and the PHP error log displays no errors. Any other ideas? Thanks. Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Thursday 14 October 2004 02:40, Dave Grant wrote: echo Thumb image uploaded to

Re: [PHP] Image upload not working correctly

2004-10-14 Thread Dave Grant
Just to clarify, everything looks like it works fine except for moving the images to the destination path. The images upload, the server recognizes them, but they don't get moved to the destination path. Thanks. Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On

Re: [PHP] Image upload not working correctly

2004-10-14 Thread Jason Wong
Please do not top-post. On Thursday 14 October 2004 23:52, Dave Grant wrote: Thanks for the reponse. Yes, the destination paths look fine and the PHP error log displays no errors. Any other ideas? move_uploaded_file() _will_ spit out an error if there are any problems. So if you're

Re: [PHP] Image upload not working correctly

2004-10-13 Thread Jason Wong
On Thursday 14 October 2004 02:40, Dave Grant wrote: echo Thumb image uploaded to .$thumbPath.br /\n; echo Full image uploaded to .$fullPath.br /\n; Do these look OK? Everything works fine, except that the images are simply not there when we go look for them. The best explanation I can

Re: [PHP] Image Manipulation

2004-10-01 Thread Jason Davidson
Yes there is way, search for GD in the php manual, it will explain a solution better than i will. Jason GH [EMAIL PROTECTED] wrote: I would like to know if there is a way to have PHP determine the dimensions of an image (i.e. JPG or PNG) and if it more than Xpx wide or height have it scale

Re: [PHP] Image Manipulation

2004-10-01 Thread Matt M.
I would like to know if there is a way to have PHP determine the dimensions of an image (i.e. JPG or PNG) and if it more than Xpx wide or height have it scale it down proportionally to that width or height? look at http://us4.php.net/gd -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Image Text

2004-09-22 Thread b2
imagecolorresolve() does not make a difference What other functions is worth playing with Is there a site where I can download font files ( which I can use in imageloadfont () ) from I'm after Arial in a few differnt sizes Greg Donald [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

Re: [PHP] Image Text

2004-09-21 Thread Greg Donald
On Tue, 21 Sep 2004 19:37:45 +0100, b2 [EMAIL PROTECTED] wrote: I'm trying to create images with a bit of text pasted on top using the code bolow My problem is that the text color either are lost (lighter colors) or print in a different color it seems that it's mix the text color and the

RE: [PHP] Image question

2004-09-15 Thread Gryffyn, Trevor
To: [EMAIL PROTECTED] Subject: RE: [PHP] Image question Oop... spoke too soon. I was able to store the image into the database, but now I can't pull it back out and manipulate it with the gd image functions. Instead of using the imagejpeg function, I can just echo the field and the image

Re: [PHP] Image question

2004-09-14 Thread Jason Wong
On Wednesday 15 September 2004 08:05, Ed Lazor wrote: PHP's creating an image and I'm trying to store it into MySQL. Instead of raw binary data, all I'm getting is a resource reference. To test this and keep things as simple as possible, I took and created an image with createimagefromjpeg.

RE: [PHP] Image question

2004-09-14 Thread Ed Lazor
Got it. Thanks Jason. -Original Message- Imagejpeg($im); // successfully displays image Use the ob_*() functions to capture the output. See archives for details. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Image question

2004-09-14 Thread Ed Lazor
from the database in a way that I can continue to manipulate it with the image functions, like imagejpeg($data)? Thanks, Ed -Original Message- From: Ed Lazor [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 14, 2004 5:20 PM To: 'Jason Wong'; [EMAIL PROTECTED] Subject: RE: [PHP

Re: [PHP] Image question

2004-09-14 Thread Jason Wong
On Wednesday 15 September 2004 08:43, Ed Lazor wrote: Oop... spoke too soon. I was able to store the image into the database, but now I can't pull it back out and manipulate it with the gd image functions. Instead of using the imagejpeg function, I can just echo the field and the image will

Re: [PHP] image size?

2004-09-10 Thread Jason Wong
On Friday 10 September 2004 06:59, Ed Lazor wrote: Is there a way to get the size of an image created using the imagecreate function? Size as in ... ? You do realise that *you* specify the size when using imagecreate()? The PHP manual section on image functions mentions getimagesize, but

Re: [PHP] image size?

2004-09-10 Thread Tom Rogers
Hi, Friday, September 10, 2004, 8:59:30 AM, you wrote: EL Is there a way to get the size of an image created using the imagecreate EL function? EL The PHP manual section on image functions mentions getimagesize, but that EL only works on remote or local files. EL Thanks, EL Ed Something like

RE: [PHP] image size?

2004-09-10 Thread Ed Lazor
-Original Message- On Friday 10 September 2004 06:59, Ed Lazor wrote: Is there a way to get the size of an image created using the imagecreate function? Size as in ... ? I was looking for the size of the image in bytes. -Ed -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] image size?

2004-09-10 Thread Wouter van Vliet
You probably need this to set the Content-length: header, don't you? I'd go into: ob_start() imagegif($imageResource); // or whatever type of image you're writing $blob = ob_get_clean(); unset($imageResource); // free the memory once you're not using the image // size in bytes = strlen()+1, due

RE: [PHP] Image Width Error

2004-08-24 Thread Jay Blanchard
[snip] Fatal error: Call to undefined function imagesx() in c:\web\www\php\classes\Box.class on line 65 Am I missing something in the PHP config? What should I be looking for. Oh! I am on PHP5.0 - that should help. [/snip] Do you have GD compiled with PHP? -- PHP General Mailing List

Re: [PHP] Image Width Error

2004-08-24 Thread Greg Donald
On Tue, 2004-08-24 at 12:56, Jed R. Brubaker wrote: Code: - $this-lVertical = images/box/.$template._lVertical.gif; $borderWidth = imagesx($this-lVertical); - Error:

Re: [PHP] Image Width Error

2004-08-24 Thread Jason Wong
On Wednesday 25 August 2004 01:56, Jed R. Brubaker wrote: - Fatal error: Call to undefined function imagesx() in c:\web\www\php\classes\Box.class on line 65 --- Am I missing something in

Re: [PHP] Image and variable

2004-08-10 Thread Kevin Waterson
This one time, at band camp, Henri Marc [EMAIL PROTECTED] wrote: Hello, I would like to use a variable instead of an image file name in a html page with this instruction: ?php echo 'img src=$myimage'; ? hmm, something like this may help for random images ?php // just so we know it is

Re: [PHP] image field in MSSQL db

2004-07-29 Thread raditha dissanayake
Edward Peloke wrote: I have never kept my images in the database but instead used the db to hold the path to the image. indeed that is the right way to do it. I now have to connect to a third party SQL Server db which holds images with an image data type in the table. How can I pull this out

Re: [PHP] Image manipulation in PHP

2004-07-20 Thread Jason Wong
On Tuesday 20 July 2004 19:28, Mark Collin wrote: Is there any support for TGA images in PHP. Not builtin. I have searched through the PHP manual and through the GD library website and cannot even find a reference to TGA, is there no support for TGA images in PHP at all? (this seems rather

Re: [PHP] Image manipulation in PHP

2004-07-20 Thread Mark Collin
Thanks for the advice, I will look into it. Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]: On Tuesday 20 July 2004 19:28, Mark Collin wrote: Is there any support for TGA images in PHP. Not builtin. I have searched through the PHP manual and through the GD library

Re: [PHP] image

2004-07-16 Thread Frank Holtschke
Php wrote: like i call an image if the img tag but instead of loading the image it loads a php script did you send the mime-type header first? Something like: header(Content-Type: image/png); Then you can do an include of the image or something like that. Jason Wong [EMAIL PROTECTED] wrote in

Re: [PHP] image

2004-07-15 Thread Jason Wong
On Friday 16 July 2004 08:06, php wrote: how do you catch an image request and instead of the image display php? Please elaborate. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications

Re: [PHP] image

2004-07-15 Thread php
like i call an image if the img tag but instead of loading the image it loads a php script Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Friday 16 July 2004 08:06, php wrote: how do you catch an image request and instead of the image display php? Please elaborate.

RE: [PHP] image

2004-07-15 Thread Vail, Warren
will generate, it then takes the remaining characters sent by the script as the actual image itself. Hope this is what you are looking for. Warren Vail -Original Message- From: php [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 5:43 PM To: [EMAIL PROTECTED] Subject: Re: [PHP

Re: [PHP] image

2004-07-15 Thread Jason Wong
On Friday 16 July 2004 08:43, php wrote: Please do not top post. like i call an image if the img tag but instead of loading the image it loads a php script img src=my.php It's still not clear what your eventual goal is. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source

Re: [PHP] image

2004-07-15 Thread php
PROTECTED] Sent: Thursday, July 15, 2004 5:43 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] image like i call an image if the img tag but instead of loading the image it loads a php script Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Friday 16 July 2004 08:06

Re: [PHP] Image Problem

2004-06-28 Thread Binay
probably the table in which ur storing the images will be having its primary key set to auto_increment. If tht is the case then when u delete banner(s) then corresponding id(s) match won't be found. i.e say table is having 4 records with ids as follows id =1 id=2 id=3 id=4 so random number

Re: [PHP] Image Problem

2004-06-28 Thread raditha dissanayake
Monil Chheda wrote: Hi, I store images in DB properly... no issues using the Storing an image directly in the database certainly isnt' the proper way of doing it :-) The common practice is just to store the path to the image name in the database. -- Raditha Dissanayake.

Re: [PHP] Image Problem

2004-06-28 Thread Curt Zirzow
* Thus wrote Monil Chheda: Hi, I store images in DB properly... no issues using the following code snip I get an Img with a cross (broken)... Whats the error? its funny, you're error is one click from finding out what it is, view the source of that image and find it you will...

Re: [PHP] Image Problem

2004-06-28 Thread Red Wingate
Read: The best database to store images in is the Filesystem because thats what it's for :-) Raditha Dissanayake wrote: Monil Chheda wrote: Hi, I store images in DB properly... no issues using the Storing an image directly in the database certainly isnt' the proper way of doing it :-) The

Re: [PHP] image upload woes

2004-06-26 Thread Marek Kilimajer
Edward Peloke wrote --- napísal:: I have code which attempts to upload some files and create thumbnails. The same code on one server works ok, the same code on another server throws an error everytime I hit submit that says The document contains no data...it appears to be a javascript error. It

RE: [PHP] image upload woes

2004-06-25 Thread Jay Blanchard
[snip] I have code which attempts to upload some files and create thumbnails. The same code on one server works ok, the same code on another server throws an error everytime I hit submit that says The document contains no data...it appears to be a javascript error. It is not an error that I am

Re: [PHP] image upload woes

2004-06-25 Thread Curt Zirzow
* Thus wrote Edward Peloke: I have code which attempts to upload some files and create thumbnails. The same code on one server works ok, the same code on another server throws an error everytime I hit submit that says The document contains no data...it appears to be a javascript error. It is

Re: [PHP] Image Uploader

2004-06-22 Thread Matt Matijevich
[snip] I am trying to create an image uploader however, the code I have created doesn't seem to upload the images. If anyone sees any ways that I can get this to work or if you know any better ways, please let me know. [/snip] that is quit a bit of code. Are you getting any specific errors?

Re: [PHP] Image Uploader

2004-06-22 Thread Marek Kilimajer
Sean Vasey wrote --- napísal:: // variables $imagesize = getimagesize($image); // some code removed if ($img[$i] == $gif) // if gif file type { $image[$i] = $image[$i] . - . $rand . .gif; } So

Re: [PHP] Image Editing and Image Upload

2004-06-10 Thread Jason Wong
On Thursday 10 June 2004 17:29, Feroze Md. Arif wrote: The image editing features that I am looking at are cropping, rotating, red-eye reduction, add text and apply a template. IIRC http://gallery.sourceforge.net includes a java component which does some of the above. -- Jason Wong -

RE: [PHP] image resize looks horrible..

2004-06-07 Thread Edward Peloke
Any ideas as to how I can fix this function??? -Original Message- From: Edward Peloke [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 4:18 PM To: Php-General Subject: [PHP] image resize looks horrible.. I am using the below function which does seem to resize the image yet the

Re: [PHP] image resize looks horrible..

2004-06-07 Thread Marek Kilimajer
Is $gd2 set right? Edward Peloke wrote: Any ideas as to how I can fix this function??? -Original Message- From: Edward Peloke [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 4:18 PM To: Php-General Subject: [PHP] image resize looks horrible.. I am using the below function which

Re: [PHP] image resize looks horrible..

2004-06-07 Thread Justin Patrin
Are you using gd2 or not? If you're not, that's probably your problem. Edward Peloke wrote: Any ideas as to how I can fix this function??? -Original Message- From: Edward Peloke [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 4:18 PM To: Php-General Subject: [PHP] image resize

RE: [PHP] Image output (Newb question)

2004-04-02 Thread Dave Avent
Header (Content-type: image/png); $im = imagecreatefrompng(images/map.png); imagepng($im); ImageDestroy ($im); -Original Message- From: Fidencio Monroy [mailto:[EMAIL PROTECTED] Sent: 02 April 2004 10:55 AM To: (PHP General List) Subject: [PHP] Image output (Newb question) Hi, I need

RE: [PHP] Image output (Newb question)

2004-04-02 Thread Fidencio Monroy
, 2004 1:58 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Image output (Newb question) Header (Content-type: image/png); $im = imagecreatefrompng(images/map.png); imagepng($im); ImageDestroy ($im); -Original Message- From: Fidencio Monroy [mailto:[EMAIL PROTECTED] Sent: 02 April 2004 10:55

RE: [PHP] Image output (Newb question)

2004-04-02 Thread Matt Matijevich
could you post all of your script? Is there any white space before your ?php tag? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Image output (Newb question)

2004-04-02 Thread Fidencio Monroy
] Subject: RE: [PHP] Image output (Newb question) could you post all of your script? Is there any white space before your ?php tag? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Image output (Newb question)

2004-04-02 Thread Matt Matijevich
change your script to just this: ?php $link = mysql_connect(localhost, root, ); if ($link){ header(Content-type: image/png); $im = imagecreatefrompng(images/map/map-15x9.png); imagepng($im); //,images/.session_id()..png imagedestroy($im);

RE: [PHP] Image output (Newb question)

2004-04-02 Thread Matt Matijevich
Sorry for responding to myself but I also need to ad that you should not echo or print anything out in your php code before your header function or the text/html header will be sent. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Image output (Newb question)

2004-04-02 Thread Fidencio Monroy
PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Image output (Newb question) Sorry for responding to myself but I also need to ad that you should not echo or print anything out in your php code before your header function or the text/html header will be sent. -- PHP General Mailing List (http

Re: [PHP] Image output (Newb question)

2004-04-02 Thread Red Wingate
the script? (I used your format in last script with the same result) Thanks -Original Message- From: Matt Matijevich [mailto:[EMAIL PROTECTED] Sent: Friday, April 02, 2004 1:35 PM To: Matt Matijevich; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Image output (Newb question

RE: [PHP] Image output (Newb question)

2004-04-02 Thread Matt Matijevich
you should have script, call it image.php or something like that, the only thing that should be in that script is this: ?php $link = mysql_connect(localhost, root, ); if ($link){ header(Content-type: image/png); $im = imagecreatefrompng(images/map/map-15x9.png);

RE: [PHP] Image output (Newb question)

2004-04-02 Thread Fidencio Monroy
This way works fine!! Thank you very much. -Original Message- From: Matt Matijevich [mailto:[EMAIL PROTECTED] Sent: Friday, April 02, 2004 2:10 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Image output (Newb question) you should have script, call it image.php

RE: [PHP] Image Storage

2004-03-24 Thread Michael G
Best to use the filesystem for images - Michael -Original Message- From: David T-G [mailto:[EMAIL PROTECTED] Sent: 23 March 2004 22:04 To: PHP General list Cc: Matt Palermo Subject: Re: [PHP] Image Storage Matt -- ...and then Matt Palermo said... % % I am creating a system to allow

Re: [PHP] Image Storage

2004-03-23 Thread James Coder
Michal Migurski wrote: I am creating a system to allow users to upload images to the site. Would it be better to store the images in a MySQL table, or having it save the images to a directory on the server? Anyone have any suggestions on this? Pros? Cons? MySQL themselves advise you use the

Re: [PHP] Image Storage

2004-03-23 Thread David T-G
Matt -- ...and then Matt Palermo said... % % I am creating a system to allow users to upload images to the site. Would % it be better to store the images in a MySQL table, or having it save the % images to a directory on the server? Anyone have any suggestions on this? % Pros? Cons? This has

Re: [PHP] Image Storage

2004-03-22 Thread Michal Migurski
I am creating a system to allow users to upload images to the site. Would it be better to store the images in a MySQL table, or having it save the images to a directory on the server? Anyone have any suggestions on this? Pros? Cons? Depends on the details of your situation - I've generally

Re: [PHP] Image size ??

2004-03-20 Thread Marek Kilimajer
http://www.php.net/getimagesize Tom Wuyts wrote: Hi, Is there any way to know the size of an image ?? Thanx in advance, RCTycooner - Admin of The Silver Luna Forums http://www.wuyts.org/tom/phpbb2/ [EMAIL PROTECTED] - --

RE: [PHP] Image info?

2004-03-19 Thread Jay Blanchard
[snip] Using php function I was able to get such information about image such as: size(width, height), type of image and size of the image. Can I get more information about image? [/snip] RTFM http://us4.php.net/image -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Image info?

2004-03-19 Thread Firman Wandayandi
Hi Mike, use getimagesize(), http://www.php.net/manual/en/function.getimagesize.php Firman - Original Message - From: Mike Mapsnac [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 19, 2004 10:30 PM Subject: [PHP] Image info? Using php function I was able to get such

Re: [PHP] Image info?

2004-03-19 Thread Rob Adams
Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] RTFM http://us4.php.net/image I was reading the ... manual a little while ago, and I could've sworn I came across a part that said: 'ATFNG' We may have an infinite loop going. -- Rob -- PHP General Mailing List

Re: [PHP] image header problem

2004-03-09 Thread Richard Davey
Hello qt, Tuesday, March 9, 2004, 9:08:15 PM, you wrote: q When I am using following codes, I am gettinh Cannot modify header q information - headers already sent by error. What should I do? Don't send any output from your script, anywhere. This includes white space around the PHP tags or

RE: [PHP] Image Quality Depreciation with GD

2004-02-17 Thread craig
Greetings, all. I'm trying to upload and crop an image. I'm not able to do it without the quality of the image suffering. I've fiddled with the quality parameter in the imagejpeg function but it seems to have no effect. I've tried varying values and leaving the parameter out

Re: [PHP] Image Quality Depreciation with GD

2004-02-17 Thread Jough P
imagecreatetruecolor() helps a lot! thanks very much!! On Feb 17, 2004, at 4:48 PM, craig wrote: Greetings, all. I'm trying to upload and crop an image. I'm not able to do it without the quality of the image suffering. I've fiddled with the quality parameter in the imagejpeg function but

Re: [PHP] Image Header Issues

2004-01-18 Thread Toby Irmer
] Sent: Sunday, January 18, 2004 5:45 AM Subject: RE: [PHP] Image Header Issues Giving up sessions for one simple issue sounds a bit drastic. I'll dig up the header information I'm sending that the x.pdf addition helped me with and send them to you if you'd like. I can't see anything as strong

Re: [PHP] Image Header Issues

2004-01-17 Thread Brian V Bonini
[EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, January 16, 2004 6:29 AM Subject: RE: [PHP] Image Header Issues I've had this same problem, and it was not related to any script I wrote, ie just stopped saving in any other format(for images), besides bmp, I am

Re: [PHP] Image Header Issues

2004-01-17 Thread Bob Eldred
Eldred [EMAIL PROTECTED] Cc: PHP Lists [EMAIL PROTECTED] Sent: Saturday, January 17, 2004 7:28 AM Subject: Re: [PHP] Image Header Issues This is a known issue with IE. And it is in their knowledge base. If I recall the fix is to clear the cache, cookies, and broken/corrupt objects. -- PHP

RE: [PHP] Image Header Issues

2004-01-17 Thread Larry Brown
) -Original Message- From: Bob Eldred [mailto:[EMAIL PROTECTED] Sent: Saturday, January 17, 2004 12:00 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Image Header Issues Again, it is *not* that known issue. That's the very first thing I checked. If that were the issue, jpgs from other

Re: [PHP] Image Header Issues

2004-01-17 Thread Toby Irmer
PROTECTED] To: Bob Eldred [EMAIL PROTECTED]; PHP List [EMAIL PROTECTED] Sent: Saturday, January 17, 2004 6:32 PM Subject: RE: [PHP] Image Header Issues try adding showpicture.php?pid=111384img=x.jpg to the end even though you aren't using that variable, IE may see that the type is jpg here. I have

RE: [PHP] Image Header Issues

2004-01-17 Thread Larry Brown
. Thanks Larry -Original Message- From: Toby Irmer [mailto:[EMAIL PROTECTED] Sent: Saturday, January 17, 2004 5:12 PM To: Larry Brown; Bob Eldred; PHP List Subject: Re: [PHP] Image Header Issues I have the same problem. Strange: I have a session_start(); before the header... if I take that out

Re: [PHP] Image Header Issues

2004-01-17 Thread Bob Eldred
be great. Bob - Original Message - From: Toby Irmer [EMAIL PROTECTED] To: Larry Brown [EMAIL PROTECTED]; Bob Eldred [EMAIL PROTECTED]; PHP List [EMAIL PROTECTED] Sent: Saturday, January 17, 2004 2:11 PM Subject: Re: [PHP] Image Header Issues I have the same problem. Strange: I have

RE: [PHP] Image Header Issues

2004-01-17 Thread Larry Brown
benefits. Larry. -Original Message- From: Bob Eldred [mailto:[EMAIL PROTECTED] Sent: Saturday, January 17, 2004 11:30 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Image Header Issues OK, that's it. The session_start() is the issue. Unfortunately, the img=x.jpg didn't help. Now I've got

Re: [PHP] Image Header Issues

2004-01-16 Thread php
hiho, it could be a ie-problem, see http://support.microsoft.com/default.aspx?scid=kb;EN-US;810978 g. martin luethi Thu, 15 Jan 2004 14:18:29 -0800 Bob Eldred [EMAIL PROTECTED]: Well, I've done a lot of web searching, and a lot of experimentation, but haven't hit upon a fix for my issue

RE: [PHP] Image Header Issues

2004-01-16 Thread Arthur Pelkey
PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 3:18 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Image Header Issues hiho, it could be a ie-problem, see http://support.microsoft.com/default.aspx?scid=kb;EN-US;810978 g. martin luethi Thu, 15 Jan 2004 14:18:29 -0800 Bob Eldred

Re: [PHP] Image Header Issues

2004-01-16 Thread Bob Eldred
PROTECTED] Sent: Friday, January 16, 2004 6:29 AM Subject: RE: [PHP] Image Header Issues I've had this same problem, and it was not related to any script I wrote, ie just stopped saving in any other format(for images), besides bmp, I am sure there would be something on ms's knowledge base

Re: [PHP] Image Header Problems

2004-01-13 Thread Bob Eldred
- Original Message - function showpix($picture_id) { $sql=SELECT ug.group_name, p.name from usenet_groups as ug, pictures as p WHERE p.id='$picture_id' AND ug.id=p.group_id; $result=mysql_query($sql) or die(mysql_error());

Re: [PHP] Image Resizing with GD

2004-01-08 Thread Brian V Bonini
On Thu, 2004-01-08 at 00:20, Peter Vertes wrote: Hello List, I've tried googling but couldn't come up with anything useful so I'm turning to the list. Could anyone send me a link to a tutorial on how to resize images with GD ? Thanks in advance... FYI: Personally, I've found passing

RE: [PHP] Image Resizing with GD

2004-01-07 Thread Mike Brum
There are some really good user notes in the function description for imagecopyresized and imagecopymerge: http://us3.php.net/manual/en/function.imagecopymerge.php http://us3.php.net/manual/en/function.imagecopyresized.php You might also want to do some searching with google for thumbnail

RE: [PHP] Image resize with background.

2003-11-02 Thread Martin Towell
try the resize copy function (can't remember the exact name ATM) Set the destination's first colour to the desired background colour, then copy/resize the image to it. Martin -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Monday, 3 November 2003 12:36 PM To: [EMAIL

<    1   2   3   4   5   >