Re: [PHP] image inventoryer

2012-04-08 Thread Tedd Sperling
Kirk: Okay, you took the first step. Now please review this: $filename "); } ?> Note: 1. This example does not put in all the embedded formatting shown in your example. What you did was simply bad form -- you should learn css as well. Also, you don't need to place the code within a bunch of h

Re: [PHP] image inventoryer

2012-04-08 Thread Kirk Bailey
Thank you! Not QUITE the first; I have used snippets and small routines for a while; however I did not know how to do this in php. Turns out there are at least 2 methods: glob, and an iteration of the directory with readdir() to build up an array, then one by one print the elements in the arr

Re: [PHP] image inventoryer

2012-04-07 Thread tamouse mailing lists
On Sat, Apr 7, 2012 at 10:35 PM, Kirk Bailey wrote: > > > Image inventory of this directory > > body { margin-left: 10; margin-right: 10%; } > body {background-attachment:fixed;} > A:link, A:visited,  A:active { text-decoration:none; } > A:hover { text-decoration:underline; } > .justify{text-al

Re: [PHP] image inventoryer

2012-04-06 Thread Jim Giner
"tamouse mailing lists" wrote in message news:CAHUC_t-M_dg_D+if01BQm=RPd=GgL7d=naxfadxwybse-nn...@mail.gmail.com... > knowledge. Read first. Ask smart questions. There are BOATLOADS of > tutorials on PHP on the net, just a google away. I like that! "just a google away". :) -- PHP General

Re: [PHP] image inventoryer

2012-04-06 Thread tamouse mailing lists
On Thu, Apr 5, 2012 at 10:04 PM, Kirk Bailey wrote: > jim, I am a novice at this language as I said. > And were people this nice to you when YOU asked beginner questions? When I ask beginner questions, I spend time doing my homework first. This list is not a class to teach you to write PHP. The p

Re: [PHP] image inventoryer

2012-04-06 Thread Tedd Sperling
On Apr 5, 2012, at 10:26 PM, Kirk Bailey wrote: > I need a page that will live in a directory and list all image files in > there. That is, the page has > > tags emitted in it's structure, one per file in the directory with a saught > file type- .png, .gif, .jpg, you get the idea. > this should

Re: [PHP] image inventoryer

2012-04-06 Thread David OBrien
On Apr 6, 2012 9:51 AM, "Jim Giner" wrote: > > "David OBrien" wrote in message > news:CAF=yD_06vDEHLP-nyEJxUNt6nHexA42X90U5-6+MBzc0=tc...@mail.gmail.com... > >> > > I googled "php show images in folder" and lo and behold the first was was > > a script almost exactly what you are wanting to do...

Re: [PHP] image inventoryer

2012-04-06 Thread Jim Giner
"David OBrien" wrote in message news:CAF=yD_06vDEHLP-nyEJxUNt6nHexA42X90U5-6+MBzc0=tc...@mail.gmail.com... >> > I googled "php show images in folder" and lo and behold the first was was > a script almost exactly what you are wanting to do > Damn - now the OP missed a golden opportunity to do

Re: [PHP] image inventoryer

2012-04-06 Thread David OBrien
On Fri, Apr 6, 2012 at 8:34 AM, Jim Giner wrote: > "Kirk Bailey" wrote in message > news:4f7e5d2f.3050...@howlermonkey.net... > > jim, I am a novice at this language as I said. > > > > Then you are taking on too big of a task. > > When I decided to pick up some web programming skills I bought a $

Re: [PHP] image inventoryer

2012-04-06 Thread Jim Giner
"Kirk Bailey" wrote in message news:4f7e5d2f.3050...@howlermonkey.net... > jim, I am a novice at this language as I said. > Then you are taking on too big of a task. When I decided to pick up some web programming skills I bought a $50 book/manual on learning PHP and another on MySQL. I read t

Re: [PHP] image inventoryer

2012-04-05 Thread Tommy Pham
On Thu, Apr 5, 2012 at 8:02 PM, Kirk Bailey wrote: If you don't want to read the manual or a book, you could quickly do some Google'ing as below: > ok. > filelist=inventory all files in directory "./" > filesystem site:php.net > for file in filelist: // walk a listing of many items loop site:

Re: [PHP] image inventoryer

2012-04-05 Thread Kirk Bailey
jim, I am a novice at this language as I said. On 4/5/2012 10:44 PM, Jim Giner wrote: As Tommy says - you sound like a total new user who doesn't know how to do it and furthermore doesn't know how many things you are going to have to pick up just to accomplish this task. You have to: determine

Re: [PHP] image inventoryer

2012-04-05 Thread Kirk Bailey
ok. ' // notice that is a 'singlequote' immedately followed by a "doublequote". ?> Something like this. In python I would write something like: #!/usr/bin/python import string, glob files=glob.glob("./*.*") # files is a list variable (a 1 dimensional addressable ar

Re: [PHP] image inventoryer

2012-04-05 Thread Jim Giner
As Tommy says - you sound like a total new user who doesn't know how to do it and furthermore doesn't know how many things you are going to have to pick up just to accomplish this task. You have to: determine the folder your script is running from collect an array of image file names from that

Re: [PHP] image inventoryer

2012-04-05 Thread Tommy Pham
On Thu, Apr 5, 2012 at 7:26 PM, Kirk Bailey wrote: > > Now ai am still a novice at p[hp, how can I do this ? > Have you read any book on PHP? even the official from PHP.net? Learn the tool so you know how to use it, efficiently. Otherwise how do you know if the tool can do what you want... Wh

Re: [PHP] Image Rotation Script

2011-10-16 Thread Curtis Maurand
There are tons of (free) jquery gadgets that do image rotation. All you'd need to do is push the list out to the jquery script. Cheers, Curtis On 10/15/2011 10:50 AM, d...@nkmo.com wrote: We have a simple script which rotates and image to a random value, saves it to a cache directory and di

Re: [PHP] Image Rotation Script

2011-10-15 Thread Stuart Dallas
On 15 Oct 2011, at 15:50, d...@nkmo.com wrote: > We have a simple script which rotates and image to a random value, saves > it to a cache directory and displays it. For some reason when I move the > script from a Debian box over to the production CentOS machine, it no > longer caches any of the im

Re: [PHP] Image Replication

2010-07-20 Thread Bastien Koert
On Tue, Jul 20, 2010 at 10:35 AM, wrote: > We are doing it with nfs mount which is mounted on all servers > > -- > Shafiq > http://shafiq.pk > *** This Message Has Been Sent Using BlackBerry Internet Service from > Mobilink *** > > -Original Message- > From: Dan Joseph > Date: Tue, 20 J

Re: [PHP] Image Replication

2010-07-20 Thread rehmanms
We are doing it with nfs mount which is mounted on all servers -- Shafiq http://shafiq.pk *** This Message Has Been Sent Using BlackBerry Internet Service from Mobilink *** -Original Message- From: Dan Joseph Date: Tue, 20 Jul 2010 10:21:55 To: PHP eMail List Subject: [PHP] Image Repli

Re: [PHP] Image Replication

2010-07-20 Thread Per Jessen
Dan Joseph wrote: > Hi, > > I'm wondering how you all are doing image replication between servers. > I've got some things in mind, but I'd like to see how others have > done it. > > We have a PHP application that accepts an image upload, then we want > it to show up on the other 2 web servers.

Re: [PHP] image thumbnail from blob data

2010-06-06 Thread Adam Richardson
On Sun, Jun 6, 2010 at 8:24 PM, Phpster wrote: > > > On Jun 6, 2010, at 5:51 PM, Paul M Foster wrote: > > On Sun, Jun 06, 2010 at 09:55:20PM +0100, Ashley Sheridan wrote: >> >> >> >> >>> Having said that, it's not generally a good idea to store images as >>> blobs in my experience. It can crea

Re: [PHP] image thumbnail from blob data

2010-06-06 Thread Phpster
On Jun 6, 2010, at 5:51 PM, Paul M Foster wrote: On Sun, Jun 06, 2010 at 09:55:20PM +0100, Ashley Sheridan wrote: Having said that, it's not generally a good idea to store images as blobs in my experience. It can create slowdowns in database access, and increases the amount of space

Re: [PHP] image thumbnail from blob data

2010-06-06 Thread Paul M Foster
On Sun, Jun 06, 2010 at 09:55:20PM +0100, Ashley Sheridan wrote: > > Having said that, it's not generally a good idea to store images as > blobs in my experience. It can create slowdowns in database access, and > increases the amount of space the db requires by a lot! What most people > do I've

Re: [PHP] image thumbnail from blob data

2010-06-06 Thread Karl DeSaulniers
Sent from losPhone On Jun 6, 2010, at 3:55 PM, Ashley Sheridan wrote: On Mon, 2010-06-07 at 02:37 +0600, saeed ahmed wrote: hello friends, image store into database in a blob field, But when I'm trying to retrieve it from the database then its cause problems. if I'm trying header(

Re: [PHP] image thumbnail from blob data

2010-06-06 Thread Ashley Sheridan
On Mon, 2010-06-07 at 02:37 +0600, saeed ahmed wrote: > hello friends, > > image store into database in a blob field, But when I'm trying to retrieve > it from the database then its cause problems. > > if I'm trying header( "Content-type: image/jpeg") (if my image type is > jpeg), then its worki

Re: [PHP] image question again

2010-04-07 Thread Ashley Sheridan
On Tue, 2010-04-06 at 21:44 -0500, Karl DeSaulniers wrote: > When I have an imagecreatetruecolor and I create another one and use > imagecopymerge, how do I keep the backgrounds transparent even if say > the width of the top image is smaller than the back image? > I keep getting a black backgr

Re: [PHP] image upload keeps file name ?

2010-04-01 Thread Midhun Girish
I use the follwing function for moving files: public function moveFile($file,$targetdir="../uploads/images/") { $fileName = $file['name']; $ext = substr($fileName, strrpos($fileName, '.') + 1); do { $targetfilename=md5(date("m.d.y.h.i.s").basename($fileName)).

Re: [PHP] image upload keeps file name ?

2010-04-01 Thread Ashley Sheridan
On Thu, 2010-04-01 at 10:51 +0100, Matthew Croud wrote: > Hi Guys, > > Can someone confirm for me that the code below will move an uploaded > file and give it the same name as the original image file name ? > > > $file_dir = "/home/uploads"; > foreach($_FILES as $file_name => $file_array) { >

Re: [PHP] Image Headers break when image is out of bounds

2009-08-11 Thread Ashley Sheridan
On Tue, 2009-08-11 at 11:54 -0700, Ben Dunlap wrote: > On Tue, Aug 11, 2009 at 11:52 AM, Ben Dunlap > wrote: > > @Adam > > The headers_sent() wasa test to ensure that no other > data was creeping > into the

Re: [PHP] Image Headers break when image is out of bounds

2009-08-11 Thread Ben Dunlap
On Tue, Aug 11, 2009 at 11:52 AM, Ben Dunlap wrote: > > @Adam >> The headers_sent() wasa test to ensure that no other data was creeping >> into the headers before I wanted it to. Keeping it in does no harm, as >> it is basically saying, if there are no headers that have been sent, >> send the cor

Re: [PHP] Image Headers break when image is out of bounds

2009-08-11 Thread Ben Dunlap
> @Adam > The headers_sent() wasa test to ensure that no other data was creeping > into the headers before I wanted it to. Keeping it in does no harm, as > it is basically saying, if there are no headers that have been sent, > send the correct ones for the image. But if there are headers that ha

Re: [PHP] Image Headers break when image is out of bounds

2009-08-11 Thread Ashley Sheridan
On Tue, 2009-08-11 at 13:29 -0500, Adam Shannon wrote: > On Tue, Aug 11, 2009 at 1:08 PM, Ashley Sheridan > wrote: > > > On Tue, 2009-08-11 at 19:02 +0100, Ashley Sheridan wrote: > > > I've got a bit of a weird one here. I'm using PHP to output an image. > > > This works fine when I output as a fi

Re: [PHP] Image Headers break when image is out of bounds

2009-08-11 Thread Adam Shannon
On Tue, Aug 11, 2009 at 1:08 PM, Ashley Sheridan wrote: > On Tue, 2009-08-11 at 19:02 +0100, Ashley Sheridan wrote: > > I've got a bit of a weird one here. I'm using PHP to output an image. > > This works fine when I output as a file, but when I try to feed it > > directly to the browser it fills

Re: [PHP] Image Headers break when image is out of bounds

2009-08-11 Thread Ashley Sheridan
On Tue, 2009-08-11 at 19:02 +0100, Ashley Sheridan wrote: > I've got a bit of a weird one here. I'm using PHP to output an image. > This works fine when I output as a file, but when I try to feed it > directly to the browser it fills the screen with random characters. > > I know I've got the heade

Re: [PHP] Image Resizing

2008-12-21 Thread Gary Maddock-Greene
nice post Tedd and useful web site :) -Gary "tedd" wrote in message news:p06240802c573f5a71...@[192.168.1.101]... At 12:38 PM -0800 12/20/08, Stephen Alistoun wrote: Hi all, What is the best way in PHP to Resize an Image to a specific width. For Example I have images in the following sizes

Re: [PHP] Image Resizing

2008-12-21 Thread tedd
At 12:38 PM -0800 12/20/08, Stephen Alistoun wrote: Hi all, What is the best way in PHP to Resize an Image to a specific width. For Example I have images in the following sizes: (1) 200px width and 350px height (2) 125px width and 220px height (3) 166px width and 455px height I want all the i

Re: [PHP] Image Resizing

2008-12-21 Thread Jason Paschal
i use imageMagick: http://www.imagemagick.org/Magick++/Geometry.html $command_line = "convert -geometry $width" . "x" . "$height $image_path $thumb_path"; system($command_line, $return_var); if ($return_var == 1) { echo "Thumbnail creation failed! :("; } else { echo "Thumbnail create

Re: [PHP] Image Resizing

2008-12-21 Thread Kevin Waterson
This one time, at band camp, Stephen Alistoun wrote: > I want all the images to resize to 100px width but the height adjusts > automatically. Two ways, GD or Imagick http://www.phpro.org/examples/GD-Thumbnail-Based-On-Image-Type.html http://www.phpro.org/tutorials/Imagick.html#4 Kevin --

Re: [PHP] Image Resizing

2008-12-20 Thread Ashley Sheridan
On Sat, 2008-12-20 at 20:59 +, Ólafur Waage wrote: > With the built in functions (GD), you can read up on this function: > http://is.php.net/manual/en/function.imagecopyresized.php > If you have Imagick installed, you can read up on this: > http://is.php.net/manual/en/function.imagick-thumbnai

Re: [PHP] Image Resizing

2008-12-20 Thread Ólafur Waage
With the built in functions (GD), you can read up on this function: http://is.php.net/manual/en/function.imagecopyresized.php If you have Imagick installed, you can read up on this: http://is.php.net/manual/en/function.imagick-thumbnailimage.php On Sat, Dec 20, 2008 at 8:38 PM, Stephen Alistoun w

Re: [PHP] Image Manipulation

2008-11-10 Thread tedd
At 7:16 PM -0500 11/9/08, Ron Piggott wrote: Is there a way to find out the number of pixels wide and high an image is in PHP? Is there a way to resize an image using PHP? Ron Yes tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing L

Re: [PHP] Image Manipulation

2008-11-09 Thread Jochem Maas
Ron Piggott schreef: > Is there a way to find out the number of pixels wide and high an image > is in PHP? > > Is there a way to resize an image using PHP? heh Ron, you've been around this list long enough to know that you should STFW and RTFM before posting questions. http://www.google.

Re: [PHP] Image Manipulation

2008-11-09 Thread Ashley Sheridan
On Sun, 2008-11-09 at 19:16 -0500, Ron Piggott wrote: > Is there a way to find out the number of pixels wide and high an image > is in PHP? > > Is there a way to resize an image using PHP? > > Ron > > Yes. Look at the PHP GD manual. Ash www.ashleysheridan.co.uk -- PHP General Mailing List

Re: Re: [PHP] Image Generation

2008-08-20 Thread Ashley Sheridan
ake your word on that, I've never played with imagemagick, having found GD to produce quality good enough for my needs. > > Ash > www.ashleysheridan.co.uk [1] > > > -------- > > Onderwerp: &

Re: Re: [PHP] Image Generation

2008-08-20 Thread Ashley Sheridan
lity good enough for my needs. > > Ash > www.ashleysheridan.co.uk [1] > > > ------------ > > Onderwerp: > Re: [PHP] Image Generation > Van: > Jochem Maas > Datum: > Wed, 20 Aug 2008 11:06:14 +0200 > Aan: > [EMAIL PROTECTED] [3] > > Aan: >

Re: Re: [PHP] Image Generation

2008-08-20 Thread php
lity good enough for my needs. > > Ash > www.ashleysheridan.co.uk [1] > > > ------------ > > Onderwerp: > Re: [PHP] Image Generation > Van: > Jochem Maas > Datum: > Wed, 20 Aug 2008 11:06:14 +0200 > Aan: > [EMAIL PROTECTED] [3] > > Aan: >

Re: [PHP] Image Generation

2008-08-20 Thread Jochem Maas
duce quality good enough for my needs. Ash www.ashleysheridan.co.uk ------------ Onderwerp: Re: [PHP] Image Generation Van: Jochem Maas <[EMAIL PROTECTED]> Datum: Wed, 20 Aug 2008 11:06:14 +0200 Aan: [EMAIL PROTECTED] Aan: [EMAIL PROTECTED] CC

Re: [PHP] Image Generation

2008-08-20 Thread Ashley Sheridan
Hence me saying "in the way you are asking" I know GD can scale images (I've done that myself on more than one occassion), but not images that are intended for print as opposed to screen viewing, as this appears to be. As for quality, I've found that GD offers comparable quality images to ImageMag

Re: [PHP] Image Generation

2008-08-20 Thread Jochem Maas
Ashley Sheridan schreef: I don't think GD has a built-in function to scale an image the way you are asking, of course you can scale images with GD, but everything works in pixels, ImageMagick is no different ... there is no such thing as millimeters when it comes to bitmap images, you can speci

Re: [PHP] Image Generation

2008-08-20 Thread Jochem Maas
Alex Chamberlain schreef: Hi, I need to generate an online proof for vinyl lettering. Customers specify the text, font, colour, maximum frame size (mm) (ie the width and height it must fit into), and whether or not they want to keep aspect ratio (ie not distort the lettering). I want to represe

Re: [PHP] Image Generation

2008-08-20 Thread Ashley Sheridan
I don't think GD has a built-in function to scale an image the way you are asking, and to do it on a pixel by pixel basis from within a function is going to be a very time consuming and memory costly process. Have you thought about using ImageMagik to do this? I know that you can exec() out to this

Re: [PHP] Image modifications

2008-05-25 Thread Chris
Ronald Wiplinger wrote: > I would like to find some samples to start with. > > We want to upload a picture and the user may apply some "filters" or > "instructions" to create a new picture, based on the uploaded picture and > the available "filters" and "instructions". > > The idea of it is not r

Re: [PHP] image* Functions' Memory Usage

2008-01-04 Thread Ólafur Waage
I recently made two commercial sites that used both GD and Imagick and i can share some wisdom i got from those projects. (both projects were "card" generators where users made their custom cards and but one had a fixed picture and users could add text and the other one allowed users to add their

Re: [PHP] image* Functions' Memory Usage

2008-01-04 Thread Dan
"Casey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On Jan 4, 2008, at 9:54 AM, "Daniel Brown" <[EMAIL PROTECTED]> wrote: On Jan 4, 2008 12:46 PM, Casey <[EMAIL PROTECTED]> wrote: Greetings, list. I have a web application that generates PNG images that are thousands of pixels

Re: [PHP] image* Functions' Memory Usage

2008-01-04 Thread Daniel Brown
On Jan 4, 2008 12:59 PM, Casey <[EMAIL PROTECTED]> wrote: [snip] > I'm laying many different other (smaller) images over each other at > various positions. (I know HTML/CSS and SVG could do this with less > trouble, but that would give away my secrets by just viewing the > source.) Okay, so ki

Re: [PHP] image* Functions' Memory Usage

2008-01-04 Thread Casey
On Jan 4, 2008, at 9:54 AM, "Daniel Brown" <[EMAIL PROTECTED]> wrote: On Jan 4, 2008 12:46 PM, Casey <[EMAIL PROTECTED]> wrote: Greetings, list. I have a web application that generates PNG images that are thousands of pixels high by thousands of pixels wide (using imagepng, etc.). The problem

Re: [PHP] image* Functions' Memory Usage

2008-01-04 Thread Daniel Brown
On Jan 4, 2008 12:46 PM, Casey <[EMAIL PROTECTED]> wrote: > Greetings, list. > > I have a web application that generates PNG images that are thousands > of pixels high by thousands of pixels wide (using imagepng, etc.). > > The problem is this takes way too much memory, and the rest of the > site b

Re: [PHP] image galleries

2007-11-22 Thread Martin Marques
Lisa A escribió: > Does anyone know of an image gallery I can use on multiple pages of a > website. I'd like to be able to click on the thumbnails and see a larger > image. > Hopefully something simple and easy to install. gallery2 -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] Image manipulation on the fly

2007-11-08 Thread Per Jessen
Merlin wrote: > Hi there, > > I need to manipulate images on the fly. My goal is to make the image > very bright, or to add a sepia effect. The problem is, that this takes > a lot of computing power on 1024 pictures. About 2s on my server until > the image is delivered. Yeah, you're doing CPU-in

Re: [PHP] Image manipulation on the fly

2007-11-08 Thread Bojan Tesanovic
Hi Merlin, that is very fast for 1024 images, you will not get much more speed if you try doing anything smarter , though there are some image libraries that are faster than GD libs eg www.imagemagick.org On Nov 8, 2007, at 5:13 PM, Merlin wrote: Hi there, I need to manipulate images on th

Re: [PHP] Image Conversion...

2007-09-08 Thread Kevin Waterson
This one time, at band camp, "Tony Di Croce" <[EMAIL PROTECTED]> wrote: > I need to convert (resize, and store as blob's in a mysql db) images my > users can upload. I'm wondering what the best conversion tool is... I'm > considering ImageMagick... Is this the best? > > Is their anything that is

Re: [PHP] Image Conversion... OT!

2007-09-08 Thread Vidyut Luther
I've been using ImageMagick pretty much since 1997, I'm probably biased or ignorant of other tools that are probably available to people these days :). But, ImageMagick still works wonderfully for me, so.. yes it's the best :). Børge Holen wrote: > On Saturday 08 September 2007 13:59, Vidyut Luthe

Re: [PHP] Image Conversion... OT!

2007-09-08 Thread Børge Holen
On Saturday 08 September 2007 13:59, Vidyut Luther wrote: > Børge Holen wrote: > > On Saturday 08 September 2007 12:48, Tony Di Croce wrote: > >> I need to convert (resize, and store as blob's in a mysql db) > > > > oh oh oh... NO we can slap the horse again ;D > > > >> images my > >> users can upl

Re: [PHP] Image Conversion... OT!

2007-09-08 Thread Vidyut Luther
Børge Holen wrote: > On Saturday 08 September 2007 12:48, Tony Di Croce wrote: > >> I need to convert (resize, and store as blob's in a mysql db) >> > oh oh oh... NO we can slap the horse again ;D > > >> images my >> users can upload. I'm wondering what the best conversion tool is... I

Re: [PHP] Image Conversion...

2007-09-08 Thread cajb
On 9/8/07, Tony Di Croce <[EMAIL PROTECTED]> wrote: > I need to convert (resize, and store as blob's in a mysql db) images avoid that for no further problems. > ImageMagick you can use this tool for your needs. -- Romanul s-a nascut poet. Trebuia sa se nasca neamt! -- PHP General Mailing Li

Re: [PHP] Image Conversion... OT!

2007-09-08 Thread Børge Holen
On Saturday 08 September 2007 12:48, Tony Di Croce wrote: > I need to convert (resize, and store as blob's in a mysql db) oh oh oh... NO we can slap the horse again ;D > images my > users can upload. I'm wondering what the best conversion tool is... I'm > considering ImageMagick... Is this the b

Re: [PHP] Image Information

2007-06-06 Thread zerof
Stut escreveu: zerof wrote: Steve Marquez escreveu: Greetings, I am trying to get information (width, height, file size) from an image before it is uploaded. Is there a way to do that? Thank you, -- Steve Marquez array getimagesize ( string file_image_name ) http://www.educar.pro.br/en/a/

Re: [PHP] Image Information

2007-06-06 Thread Jim Lucas
zerof wrote: Steve Marquez escreveu: Greetings, I am trying to get information (width, height, file size) from an image before it is uploaded. Is there a way to do that? Thank you, -- Steve Marquez array getimagesize ( string file_image_name ) http://www.educar.pro.br/en/a/gdlib/index.php?

Re: [PHP] Image Information

2007-06-06 Thread Stut
zerof wrote: Steve Marquez escreveu: Greetings, I am trying to get information (width, height, file size) from an image before it is uploaded. Is there a way to do that? Thank you, -- Steve Marquez array getimagesize ( string file_image_name ) http://www.educar.pro.br/en/a/gdlib/index.php?

Re: [PHP] Image Information

2007-06-06 Thread zerof
Steve Marquez escreveu: Greetings, I am trying to get information (width, height, file size) from an image before it is uploaded. Is there a way to do that? Thank you, -- Steve Marquez array getimagesize ( string file_image_name ) http://www.educar.pro.br/en/a/gdlib/index.php?pn=22&tr=97 --

Re: [PHP] Image Information

2007-06-06 Thread Stut
Steve Marquez wrote: I am trying to get information (width, height, file size) from an image before it is uploaded. Is there a way to do that? Not without using a client-side technology. PHP can't help you on the client-side. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubs

Re: [PHP] Image Resize with LibGD

2007-05-08 Thread Richard Lynch
On Tue, May 8, 2007 3:17 am, Christian Haensel wrote: > I am using imagecreatetruecolor() and imagecopyresampled() to resize > oversized images and am overlaying them with an transparent PNG to add > a > watermark. That works just well for oversized images. > > Now, let's say I have a small image a

Re: [PHP] Image Resize with LibGD

2007-05-08 Thread Greg Donald
On 5/8/07, Christian Haensel <[EMAIL PROTECTED]> wrote: Now, let's say I have a small image and would like to stretch it by 50 to 100% of its original size... I know there will be a loss of quality. But maybe someone out there has had to deal with the same before and knows the best way to do that

Re: [PHP] image uploading/resizing best practices in PHP

2007-03-22 Thread Németh Zoltán
2007. 03. 22, csütörtök keltezéssel 12.48-kor Dwayne Heronimo ezt írta: > thx for the input. I was afraid that it would be option 1 because it is more > complex. why would resizing and then storing it be more complex than resizing and then displaying it? greets Zoltán Németh > I will start goog

Re: [PHP] image uploading/resizing best practices in PHP

2007-03-22 Thread Dwayne Heronimo
thx for the input. I was afraid that it would be option 1 because it is more complex. I will start googling. ;) Thx ""Shafiq Rehman"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Option one is much better. > > -- > Shafiq Rehman (ZCE) > http://phpgurru.com | http://shafiq.pk >

Re: [PHP] image uploading/resizing best practices in PHP

2007-03-22 Thread Shafiq Rehman
Option one is much better. -- Shafiq Rehman (ZCE) http://phpgurru.com | http://shafiq.pk On 3/22/07, Tijnema ! <[EMAIL PROTECTED]> wrote: On 3/22/07, Dwayne Heronimo <[EMAIL PROTECTED]> wrote: > Dear All, > > I would like to make a script to upload a jpg filewith php to a server; then > make a

Re: [PHP] image uploading/resizing best practices in PHP

2007-03-22 Thread Tijnema !
On 3/22/07, Dwayne Heronimo <[EMAIL PROTECTED]> wrote: Dear All, I would like to make a script to upload a jpg filewith php to a server; then make a thumb; save if for later use. And store the path to the image in a database to display it later. But what is the best practice to do this on a rela

Re: [PHP] image digit to check password

2007-03-21 Thread Dave Goodchild
Om On 3/20/07, Jochem Maas <[EMAIL PROTECTED]> wrote: Tijnema ! wrote: > On 3/20/07, Dave Goodchild <[EMAIL PROTECTED]> wrote: >> Have a look at this: > > Have a look at nothing :) I believe this Dave's way of pointing people to the Great Void :-) >> -- >> PHP General Mailing List (http://www

Re: [PHP] image digit to check password

2007-03-20 Thread Richard Lynch
On Tue, March 20, 2007 11:52 am, Alain Roger wrote: > There is a trend on internet that when you want to change your > password, you > need to type : > 1. the former password. > 2. the new one > 3. a 2nd time the new one to confirm that no mistake has been done on > step > 2. > > however, several w

Re: [PHP] image digit to check password

2007-03-20 Thread Jochem Maas
Tijnema ! wrote: > On 3/20/07, Dave Goodchild <[EMAIL PROTECTED]> wrote: >> Have a look at this: > > Have a look at nothing :) I believe this Dave's way of pointing people to the Great Void :-) >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/

Re: [PHP] image digit to check password

2007-03-20 Thread Tijnema !
On 3/20/07, Dave Goodchild <[EMAIL PROTECTED]> wrote: Have a look at this: Have a look at nothing :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

Re: [PHP] image digit to check password

2007-03-20 Thread Dave Goodchild
Have a look at this: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] image digit to check password

2007-03-20 Thread Satyam
- Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> [snip] however, several website also propose an additional security to avoid hacking/brute force, they display a 4 digit image with a "random" string including number and letters... something like A3P23. if user do not resp

Re: [PHP] image digit to check password

2007-03-20 Thread Tijnema !
On 3/20/07, Alain Roger <[EMAIL PROTECTED]> wrote: Hi, There is a trend on internet that when you want to change your password, you need to type : 1. the former password. 2. the new one 3. a 2nd time the new one to confirm that no mistake has been done on step 2. however, several website also p

RE: [PHP] image digit to check password

2007-03-20 Thread Jay Blanchard
[snip] however, several website also propose an additional security to avoid hacking/brute force, they display a 4 digit image with a "random" string including number and letters... something like A3P23. if user do not respect case and string, password is not changed. I would like to know how such

Re: [PHP] Image from a secure site

2007-03-13 Thread Manolet Gmail
Well in case someone need to do this... this is the code.. very easy at all.. header ('Content-type: image/jpeg'); $ch =curl_init("http://contelec.sytes.net:2002/IMAGE.JPG?cidx=20072261649239281";); curl_setopt($ch,CURLOPT_USERPWD,"invitado:invitado"); curl_exec($ch); curl_close($ch);

Re: [PHP] Image from a secure site

2007-03-13 Thread Manolet Gmail
2007/3/12, Richard Lynch <[EMAIL PROTECTED]>: Instead of trying to re-invent the authentication wheel, just use http://php.net/curl wow!! Thanks you A LOOOT!!! thats amazing!!! On Thu, March 8, 2007 4:51 pm, Manolet Gmail wrote: > hi, i install 4 IP cameras and i want to extract

Re: [PHP] Image from a secure site

2007-03-12 Thread Richard Lynch
Instead of trying to re-invent the authentication wheel, just use http://php.net/curl On Thu, March 8, 2007 4:51 pm, Manolet Gmail wrote: > hi, i install 4 IP cameras and i want to extract the images from their > web interface that is protected be a username and password (HTTP AUTH) > and show i

Re: [PHP] Image storing

2007-03-05 Thread tedd
At 8:55 PM +0100 3/5/07, Børge Holen wrote: This dude is just trying to start another skirmishand probably a riot. Was there something I missed. :-) tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsub

Re: [PHP] Image storing

2007-03-05 Thread Robert Cummings
On Mon, 2007-03-05 at 20:55 +0100, Børge Holen wrote: > This dude is just trying to start another skirmishand probably a riot. Well he didn't ask about filesystems, so if everyone keeps it on topic there shouldn't be an issue ;) On Monday 05 March 2007 19:50, Jay Blanchard wrote: > > [snip] > > C

Re: [PHP] Image storing

2007-03-05 Thread Børge Holen
This dude is just trying to start another skirmishand probably a riot. On Monday 05 March 2007 19:50, Jay Blanchard wrote: > [snip] > Can you recommend the best way to store an image into the MySQL database > > and optimze it. > > And display and manipulate that image in PHP. > [/snip] > > There a

RE: [PHP] Image storing

2007-03-05 Thread Jay Blanchard
[snip] Can you recommend the best way to store an image into the MySQL database and optimze it. And display and manipulate that image in PHP. [/snip] There are many tutorials; http://www.google.com/search?hl=en&q=store+image+in+database+PHP -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Image upload

2007-02-05 Thread Richard Lynch
PS I forgot that the $_FILES array also has an 'error' field in it. Check that! On Mon, February 5, 2007 4:29 pm, Robert Fitzpatrick wrote: > I have a small application that ran on one server and now gives me a > problem with uploading images on a new server. I am running PHP 4.4.4 > now on thi

Re: [PHP] Image upload

2007-02-05 Thread Richard Lynch
On Mon, February 5, 2007 4:29 pm, Robert Fitzpatrick wrote: > I have a small application that ran on one server and now gives me a > problem with uploading images on a new server. I am running PHP 4.4.4 > now on this server and hoping it is just something that needs adjusted > in php.ini, but canno

Re: [PHP] Image upload

2007-02-05 Thread Robert Fitzpatrick
Jochem Maas wrote: Robert Fitzpatrick wrote: I have a small application that ran on one server and now gives me a problem with uploading images on a new server. I am running PHP 4.4.4 now on this server and hoping it is just something that needs adjusted in php.ini, but cannot seem to find. T

Re: [PHP] Image upload

2007-02-05 Thread Jochem Maas
Robert Fitzpatrick wrote: > I have a small application that ran on one server and now gives me a > problem with uploading images on a new server. I am running PHP 4.4.4 > now on this server and hoping it is just something that needs adjusted > in php.ini, but cannot seem to find. The file is posted

Re: [PHP] image commands (again)

2006-11-06 Thread Richard Lynch
On Sun, November 5, 2006 4:31 pm, Ron Piggott (PHP) wrote: > I created a form that I have on my site --- it is at > http://www.actsministrieschristianevangelism.org/development_tools/textart/details.html > > If I run this script it creates a graphic image of the text the user > typed in with the ap

Re: [PHP] image commands (again)

2006-11-05 Thread Rasmus Lerdorf
Google Kreme wrote: > On 05 Nov 2006, at 15:31 , Ron Piggott (PHP) wrote: >> Content-type: image/ >> >> the browser expects only the image to output to the screen and no HTML > > As if should. > > Save the image in a temporary location and then send html that include > and tag You don't need to

Re: [PHP] image commands (again)

2006-11-05 Thread Google Kreme
On 05 Nov 2006, at 15:31 , Ron Piggott (PHP) wrote: Content-type: image/ the browser expects only the image to output to the screen and no HTML As if should. Save the image in a temporary location and then send html that include and tag -- Though it's cold and lonely in the deep dark ni

Re: [PHP] image protection

2006-10-06 Thread Richard Lynch
On Fri, October 6, 2006 12:44 pm, tedd wrote: > What would be the "best" way to protect images in a directory from > being harvested? Tell the client that correctly linked and tagged images INCREASE traffic because the search engines can find them and suck people in, so hiding them is a Bad Idea.

  1   2   3   4   5   6   >