Re: [PHP] Images : Store in dB or disk?

2003-01-16 Thread Marek Kilimajer
Bobby Patel wrote: Hello, I have the Images table setup with columns (width, height, size, type, etc...) the question is should I have the image data stored in this table or disk? I know, alot of people have said it is faster in disk, which is 1 page I/O. But I need these images for

[PHP] Images : Store in dB or disk?

2003-01-15 Thread Bobby Patel
Hello, I have the Images table setup with columns (width, height, size, type, etc...) the question is should I have the image data stored in this table or disk? I know, alot of people have said it is faster in disk, which is 1 page I/O. But I need these images for displaying product pages, and I

Re: [PHP] Images : Store in dB or disk?

2003-01-15 Thread rw
Have a look at: http://vrscenes.com/2003/gallery.php?mls=230944 and tell me what you think - all images are stored in the filesystem Don't worry about what it looks like - I extracted this from the frameset it goes in Cheers! RW Quoting Bobby Patel [EMAIL PROTECTED]: ### Hello, ### I have

Re: [PHP] Images : Store in dB or disk?

2003-01-15 Thread Bobby Patel
It looks nice. It does take a couple of seconds, (but I guess that is to be expected with dealing with images). I guess seeing your example, it seems that I can go with the filesystem. But do you use the getimagezise function? do you set the width and height for the IMG tag dynamically, or you

Re: [PHP] Images : Store in dB or disk?

2003-01-15 Thread Jason Wong
On Thursday 16 January 2003 13:23, Bobby Patel wrote: I AGREE that storing images strored on disk is a valid approach PROVIDED that you only need 1 image per page, but if you need to grab a bunch at a time, I do beleieve that storing the actual file on the dB is faster. I would like to hear

[PHP] Images not stored in Databases

2002-12-24 Thread Steve Vernon
Hiya, I have had help from a very useful person on storing images in databases, and basically now I don't want to do this. But I may end up storing a lot of pictures, and don't want to mess around. Is there a script or class, that is as simple as storing in a database, that will handle

RE: [PHP] Images not stored in Databases

2002-12-24 Thread Edward Peloke
PROTECTED] Subject: [PHP] Images not stored in Databases Hiya, I have had help from a very useful person on storing images in databases, and basically now I don't want to do this. But I may end up storing a lot of pictures, and don't want to mess around. Is there a script or class

Re: [PHP] Images not stored in Databases

2002-12-24 Thread Steve Vernon
. Is that what you mean? Eddie -Original Message- From: Steve Vernon [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 24, 2002 8:57 AM To: [EMAIL PROTECTED] Subject: [PHP] Images not stored in Databases Hiya, I have had help from a very useful person on storing images in databases

Re: [PHP] Images not stored in Databases

2002-12-24 Thread Gilles Haverbeke
don't have conflicts with filenames. Is that what you mean? Greetz, Gilles - Original Message - From: Steve Vernon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 24, 2002 3:27 PM Subject: Re: [PHP] Images not stored in Databases Hiya. Yeh sorry I should

[PHP] images

2002-11-29 Thread Craig
Not sure if this would be anyway possible, hopefull some of you GD gurus will have an idea. Basically the scenario is, I have a dirtectory of images(5 to be exact). What I want to be able to do is something similar to the script below, which randomizes a gif image selection. the file is called

Re: [PHP] Images retrieved from MYSQL database using PHP becoming corrupted.

2002-11-04 Thread Hatem Ben
hello, Check the PHP-DB archives you'll find a code for the upload, and this one for viewing image : ? $mysql_hostname = ; $mysql_username = ; $mysql_passwd = ; $mysql_dbname = ; // Connecting, selecting database $link = @mysql_connect($mysql_hostname,$mysql_username, $mysql_passwd)

Re: [PHP] Images retrieved from MYSQL database using PHP becomingcorrupted.

2002-11-04 Thread Marek Kilimajer
Works for me, tr putting some echo mysql_error on your page Darren McPhee wrote: I have spent the last 3 days trying to figure this out. And will probably give up very soon. I have written 2 programs (which are very common PHP programs) that A) Allows me to upload image files into a MYSQL

[PHP] Images retrieved from MYSQL database using PHP becoming corrupted.

2002-11-03 Thread Darren McPhee
I have spent the last 3 days trying to figure this out. And will probably give up very soon. I have written 2 programs (which are very common PHP programs) that A) Allows me to upload image files into a MYSQL database using a simple form. And B) Allows me to retrieve and display the image using

[PHP] Images problem

2002-10-02 Thread Mihaela Ratri
Hi, I know that is old problem, but I could'n solved until now. Sorry for any inconvenience. I've installed gd-2.0.1 (in /my/home) and php-4.2.3 with the following options: ./configure --with-mysql --with-apache=../apache_1.3.26 --with-gd=/my/home/gd-2.0.1 --prefix=/my/home/local

[PHP] Images problem

2002-10-02 Thread Mihaela Ratri
Hi, I know that is old problem, but I could'n solved until now. Sorry for any inconvenience. I've installed gd-2.0.1 (in /my/home) and php-4.2.3 with the following options: ./configure --with-mysql --with-apache=../apache_1.3.26 --with-gd=/my/home/gd-2.0.1 --prefix=/my/home/local

[PHP] Images problem

2002-10-02 Thread Mihaela Ratri
Hi, I know that is old problem, but I could'n solved until now. Sorry for any inconvenience. I've installed gd-2.0.1 (in /my/home) and php-4.2.3 with the following options: ./configure --with-mysql --with-apache=../apache_1.3.26 --with-gd=/my/home/gd-2.0.1 --prefix=/my/home/local

Re: [PHP] Images of GD Library

2002-07-22 Thread Jason Wong
On Monday 22 July 2002 15:35, Lord Loh. wrote: 1. How can I store an image in a database.. ? 2. How can this be now used to create an image ? Search archives for various combinations of: upload, image, mysql 3. Is there any way I can read an image from a remote site and save it's

[PHP] Images of GD Library

2002-07-21 Thread Lord Loh.
1. How can I store an image in a database.. ? 2. How can this be now used to create an image ? 3. Is there any way I can read an image from a remote site and save it's minature view in my DB / file ? (How can an image be resized ?) -- PHP General Mailing List (http://www.php.net/) To

[PHP] Images with GD

2002-05-17 Thread Anzak Wolf
I'm working on getting some image creation scripts done and I have one requirement that I'm not sure how to handle. I have a base image that I can create with no problem. The problem comes in that I want to set some text in the exact center of the image. Is there some sort of formula I can

Re: [PHP] Images with GD

2002-05-17 Thread Rasmus Lerdorf
Use imagettfbbox(). This function calculates the bounding box given the font, size and actual text within which that text would fit. -Rasmus On Fri, 17 May 2002, Anzak Wolf wrote: I'm working on getting some image creation scripts done and I have one requirement that I'm not sure how to

RE: [PHP] Images don't save

2002-04-19 Thread Ray Paseur 703.346.0600
: Thursday, April 18, 2002 2:21 PM To: 'Gunther E. Biernat'; [EMAIL PROTECTED]; 'Php-General (E-mail) Subject: RE: [PHP] Images don't save Actually you can do this if all you are trying to do is disable right clicking. If you are thinking this will stop people from getting your pictures

[PHP] Images don't save

2002-04-18 Thread Manu Verhaegen
Hi, You can right click on a image on your browser and choose save. I want to disable this option, how can i do this Greetings, Manu -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Images don't save

2002-04-18 Thread Gunther E. Biernat
You can't. Period. Simple as that. Oh, and BTW, it's not even a PHP question... On Thu, 18 Apr 2002 20:10:13 +0200, Manu Verhaegen wrote: Hi, You can right click on a image on your browser and choose save. I want to disable this option, how can i do this Greetings, Manu -- PHP

Re: [PHP] Images don't save

2002-04-18 Thread Jule Slootbeek
I'm not sure of it'll work, never tried it, but you might be able to show the pics using a Java applet..that way one cannot copy them. Jule. On Thursday 18 April 2002 14:17, Gunther E. Biernat typed on his or her keyboard, and sent me the following: You can't. Period. Simple as that. Oh,

RE: [PHP] Images don't save

2002-04-18 Thread Fifield, Mike
you would have to do it with java. -Original Message- From: Gunther E. Biernat [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 12:17 PM To: [EMAIL PROTECTED]; 'Php-General (E-mail) Subject: Re: [PHP] Images don't save You can't. Period. Simple as that. Oh, and BTW, it's

RE: [PHP] Images don't save

2002-04-18 Thread Fifield, Mike
]] Sent: Thursday, April 18, 2002 12:21 PM To: 'Gunther E. Biernat'; [EMAIL PROTECTED]; 'Php-General (E-mail) Subject: RE: [PHP] Images don't save Actually you can do this if all you are trying to do is disable right clicking. If you are thinking this will stop people from getting your pictures

Re: [PHP] Images don't save

2002-04-18 Thread Miguel Cruz
On Thu, 18 Apr 2002, Jule Slootbeek wrote: I'm not sure of it'll work, never tried it, but you might be able to show the pics using a Java applet..that way one cannot copy them. 1) A lot of people won't see your site then, and if you have many pictures on the page, it'll be slower than

Re: [PHP] Images don't save

2002-04-18 Thread Jason Wong
On Friday 19 April 2002 02:25, Fifield, Mike wrote: This is not PHP so does not really belong here but since you asked. Here is a java script that will disable right clicking and display a copyright. Script language='Javascript' !-- var message='Copyright (c) 1999 Sakki.'; function

[PHP] Images and MySQL - please help

2002-04-17 Thread DrTebi
Hi, I am trying to do this: - I have an image stored in database 'A' - a php script should load this image, and stamp it with a watermark - then the php script should save the new image (with the watermark) in database 'B' ... How can I do this? I guess somehow I have to buffer the output,

Re: [PHP] Images and MySQL - please help

2002-04-17 Thread hugh danaher
11:11 PM Subject: [PHP] Images and MySQL - please help Hi, I am trying to do this: - I have an image stored in database 'A' - a php script should load this image, and stamp it with a watermark - then the php script should save the new image (with the watermark) in database 'B' ... How

[PHP] images not displaying

2002-04-02 Thread Carl
the images folder is in /website/testingArea/images the php page is located in /website/testingArea/administration/image.php I have confirmed that the file I want to display does exist in the images folder, and that the path is correct. If I include a tag in images.php like so: IMG

RE: [PHP] images not displaying

2002-04-02 Thread Rick Emery
examine the generated HTML with View Source in your browser. Does it contain what you expect? -Original Message- From: Carl [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 4:45 PM To: [EMAIL PROTECTED] Subject: [PHP] images not displaying the images folder is in /website

RE: [PHP] images not displaying

2002-04-02 Thread Schmidt, Carl
] | 877.9LAT360 | 410.869.7025 | -Original Message- From: Rick Emery [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 5:49 PM To: Schmidt, Carl; [EMAIL PROTECTED] Subject: RE: [PHP] images not displaying examine the generated HTML with View Source in your browser. Does it contain

RE: [PHP] images not displaying

2002-04-02 Thread Schmidt, Carl
:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 5:49 PM To: Schmidt, Carl; [EMAIL PROTECTED] Subject: RE: [PHP] images not displaying examine the generated HTML with View Source in your browser. Does it contain what you expect? -Original Message- From: Carl [mailto:[EMAIL PROTECTED]] Sent

RE: [PHP] images not displaying

2002-04-02 Thread Rick Emery
To: 'Rick Emery'; [EMAIL PROTECTED] Subject: RE: [PHP] images not displaying yes. the SRC=/home/website/testingArea/images/imagename.jpg Should I just make it http://website.com/testingArea/images/imagename.jpg instead? __ Carl Schmidt | Developer

RE: [PHP] images not displaying

2002-04-02 Thread Miguel Cruz
To: 'Rick Emery'; [EMAIL PROTECTED] Subject: RE: [PHP] images not displaying yes. the SRC=/home/website/testingArea/images/imagename.jpg Should I just make it http://website.com/testingArea/images/imagename.jpg instead? __ Carl Schmidt

[PHP] images with GD

2002-02-25 Thread Jackson Miller
I have been playing around with creating images in php using GD, and I have some questions for the list. How much more processing power does it take to create an image versus just sending the image? Aside from photo album type apps, how are people using GD? Is GD well suited for navigational

[PHP] Images

2002-02-07 Thread B. Verbeek
Seem to have a problem... I'm creating a form to upload a image to a dir on the webserver. When I fill out the form and submit it (method=post) the variable in the input type=file name=image-field doesn't get sent. I also use enctype multipart/form-data. Does anyone have any suggestions?

RE: [PHP] Images

2002-02-07 Thread B. Verbeek
What Mod does it need? -Oorspronkelijk bericht- Van: Anna Gintere [mailto:[EMAIL PROTECTED]] Verzonden: vrijdag 8 februari 2002 2:08 Aan: [EMAIL PROTECTED] Onderwerp: RE: [PHP] Images Does dir have aprpriate mod (permisions)? -Original Message- From: B. Verbeek [mailto:[EMAIL

[PHP] Images and Mysql

2002-01-30 Thread David Orn Johannsson
I need to find out how to upload images to a database and then displaying them again, can anybody direct me to a howto or any thing like that to help me figure out how it’s done. http://www.atom.is/ Davíð Örn Jóhannssson Vefforritari

Re: [PHP] Images and Mysql

2002-01-30 Thread Jason Wong
On Wednesday 30 January 2002 22:27, David Orn Johannsson wrote: I need to find out how to upload images to a database and then displaying them again, can anybody direct me to a howto or any thing like that to help me figure out how it’s done. You could try searching the list archives. This

[PHP] Images

2001-12-20 Thread PHP List
Hi, I am trying to do something like this: img src=image.php?image=1 The code is like this: script language=php $szPicture = myimage.gif; $url = http://www.mysite.com/; . $szPicture; header(Content-type: image/gif); header(Content-Length: . strlen($url)); echo $url; /script But nothing

Re: [PHP] Images

2001-12-20 Thread PHP List
Thanks, but my html is valid, and what you are doing is not what I want to do. I want to display a random image included in the page, just like a banner program would work. I do not allow php execution on the page so the only way to get the image is to call the script with the img src tag, just

Re: [PHP] Images

2001-12-20 Thread Joel Boonstra
img src=image.php?image=1 The code is like this: script language=php $szPicture = myimage.gif; $url = http://www.mysite.com/; . $szPicture; header(Content-type: image/gif); header(Content-Length: . strlen($url)); echo $url; /script You're properly printing

[PHP] images no appearing

2001-09-24 Thread Adrian D'Costa
Hi, I wrote a php script to create a dynamic graph (image/jpeg). On my development system the image appears on my website it gives Image/Jpeg support not compiled. Below are the config settings: My system: Configure Command ^@ './configure' '--prefix=/usr'

[PHP] images no appearing

2001-09-24 Thread Adrian D'Costa
Hi, I wrote a php script to create a dynamic graph (image/jpeg). On my development system the image appears on my website it gives Image/Jpeg support not compiled. Below are the config settings: My system: Configure Command ^@ './configure' '--prefix=/usr'

[PHP] Images Download

2001-08-25 Thread Pereira Romulo
Hello, I want to create a script that would read the contents of an HTML file (I can use Snoopy class for that) and then, download some respective type of files from a page (let's say .zip files)... Any ideas how do I start or if anyone create something like that? Thank you and please, reply

[PHP] Images

2001-08-07 Thread Fernando Avila
Hello php-general, Hi, I'm having some troubles because i need to resize an image. I mean, i have a page that lists every notice in the page with a small picture, and if you click over the notice you get a full article with the big photograph. But i want to put in the server only one

Re: [PHP] Images

2001-08-07 Thread Hong Zhang
On Tue, 7 Aug 2001, Fernando Avila wrote: Date: Tue, 7 Aug 2001 22:25:39 +0100 From: Fernando Avila [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP] Images Hello php-general, Hi, I'm having some troubles because i need to resize an image. I mean, i have a page that lists

RE: [PHP] Images

2001-08-07 Thread Matthew Loff
... With those installed, you can resample images instead of resizing... Resampling produces much better results. -Original Message- From: Fernando Avila [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 07, 2001 5:26 PM To: [EMAIL PROTECTED] Subject: [PHP] Images Hello php-general, Hi, I'm

[PHP] images

2001-06-26 Thread Jon Yaggie
I am trying to produce buttons with imagecreatefromjpeg(). the problem i am having is i cant allocate a color for the text of the betton. it appears i have 2 choices black and gray. Anyone know why this could be. Code is below ?php Header("Content-Type: image/jpeg");

[PHP] Images only with 256 Colors?!

2001-04-18 Thread Nils Sondermann
I want do create Images dynamicly, i have a High Color png but after CreateImagefrompng() it have only 256 colors. What can i do? thx Nils -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] Images only with 256 Colors?!

2001-04-18 Thread Rasmus Lerdorf
Don't use GD. You need either the new GD2 extension or the Imlib2 extension from http://mmcc.cx/php_imlib/ -Rasmus On Wed, 18 Apr 2001, Nils Sondermann wrote: I want do create Images dynamicly, i have a High Color png but after CreateImagefrompng() it have only 256 colors. What can i do?

Re: [PHP] Images only with 256 Colors?!

2001-04-18 Thread Yasuo Ohgaki
Don't forget take a look at dev-list archive, there are many useful posts how to compile with gd2. -- Yasuo Ohgaki ""Nils Sondermann"" [EMAIL PROTECTED] wrote in message 9bjthb$fu2$[EMAIL PROTECTED]">news:9bjthb$fu2$[EMAIL PROTECTED]... I want do create Images dynamicly, i have a High Color

[PHP] IMAGES IN NETSCAPE SSL NOT SHOWING UP

2001-03-29 Thread Craig Cameron
Hello, We have a shopping cart developed in php and when the cart goes to SSL the images do not show up in Netscape, only IE. The only way around this is for me to copy all images into the ssl directory. This is very inefficient. I know there is a way to have php read the files in SSL. Any

Re: [PHP] images problem

2001-03-09 Thread Richard Lynch
Sent: Thursday, March 01, 2001 5:19 AM Subject: [PHP] images problem i uses the following method to display an image draw from database.. set_magic_quotes_runtime(0); $query = "select diagram from $QuestTab where q

[PHP] Images Upload Password Protect

2001-03-02 Thread Squash Buckler
I'm concepting a system in php that offers user level password protected upload / download of image files - certain users would only be able to access certain files. The file sizes could be anywhere from 1mb on up to 25mb. I am thinking of storing the (user uploaded and downloadable) files

[PHP] images problem

2001-03-01 Thread John LYC
i uses the following method to display an image draw from database.. set_magic_quotes_runtime(0); $query = "select diagram from $QuestTab where qns_id = '$QnsID'"; $result = @MYSQL_QUERY($query); $data = @MYSQL_RESULT($result,0,

Fw: [PHP] Images ???

2001-01-17 Thread Miguel Loureiro
-Original Message- From: Ignacio Vazquez-Abrams [EMAIL PROTECTED] To: Miguel Loureiro [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Tuesday, January 16, 2001 7:36 PM Subject: Re: [PHP] Images ??? On Tue, 16 Jan 2001, Miguel Loureiro wrote: Hello, I want to show

Re: [PHP] Images ??? ok,but...

2001-01-17 Thread Richard Lynch
I can see... I mean, the images appears, now, is it possible when uploading images, do a copy to a small file, ie I will have 2 files for each image, but with different sizes, where the small one is a small size of the original image...confused. This is because You can create a thumbnail on the

[PHP] Images ???

2001-01-16 Thread Miguel Loureiro
Hello, I want to show a list of images ( but in a small size - should I use ImageCopyResized ? how ? ), existed in a directory ( they are uploaded to dir, and the name of each image is also inserted into a DataBase ), with a link to the respective image and real size. To work with images ( I

Re: [PHP] Images ???

2001-01-16 Thread Ignacio Vazquez-Abrams
On Tue, 16 Jan 2001, Miguel Loureiro wrote: Hello, I want to show a list of images ( but in a small size - should I use ImageCopyResized ? how ? ), existed in a directory ( they are uploaded to dir, and the name of each image is also inserted into a DataBase ), with a link to the

<    1   2