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

[PHP] image inventoryer

2012-04-07 Thread Kirk Bailey
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-align:justify;} .center{text-align:center;} This page inventories the

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

[PHP] image inventoryer

2012-04-05 Thread Kirk Bailey
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 use relative addressing so once the tool is built I can us

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

[PHP] Image Rotation Script

2011-10-15 Thread dev
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 images. the rest works, but not the cache. If you could lo

[PHP] Image question for runways

2010-09-14 Thread Alexis
Hi, I am trying to create an on the fly image of runway layouts but am hitting a brick wall. I have both the starting and ending coordinates of each runway, it's length, as well as it's angle of direction (heading). I can draw one runway without any problem, but where I am falling short is

Re: [PHP] Image Replication

2010-07-20 Thread Bastien Koert
m: Dan Joseph > Date: Tue, 20 Jul 2010 10:21:55 > To: PHP eMail List > Subject: [PHP] Image Replication > 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. &

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

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.

[PHP] Image Replication

2010-07-20 Thread Dan Joseph
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. We have 3 in a load balanced clust

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

[PHP] image thumbnail from blob data

2010-06-06 Thread saeed ahmed
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 working well. but when I'm trying to mixing up this with some HTML code th

[PHP] PHP Image Host - Sending HTTP Headers Twice?

2010-05-10 Thread APseudoUtopia
I have a php script which serves an image. It's very simple: header('Content-Type: image/' . $ImageData['content_type']); readfile($File); When viewing the script with the Firefox Extension: LiveHTTPHeaders, it gives the following output for a SINGLE request:

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

[PHP] image question again

2010-04-06 Thread Karl DeSaulniers
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 background where the top image does not cover the back. It sets the tran

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) { >

[PHP] image upload keeps file name ?

2010-04-01 Thread Matthew Croud
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) { echo "path: ".$file_array["tmp_name"]."\n"; echo "name:

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

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

2009-08-11 Thread Ashley Sheridan
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 headers right, as it works some of the time. The only thing I can spot wh

[PHP] Image Type BMP @ "Save Image As" Dialog on IE

2009-06-26 Thread Nitsan Bin-Nun
I have wrote a PHP script that serves JPEG images in smaller size, the resize is done using GD on-the-fly. I have noticed an interesting issue during the "save image as..." dialog on serveral internet explorer browsers, somehow, for some strange reason, the JPEG file is shown as BMP file. I don't

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

[PHP] Image Resizing

2008-12-20 Thread Stephen Alistoun
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 images to resize to 100px width but the height adjusts

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
ns. http://www.google.com/search?q=php+image+size lo and behold the first result item. the way it goes is like this, every time you think 'hey can I do that' there is a very big chance some 12yo has already done it, blogged about it, posted code on phpclasses.org (or some such place) and pri

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

[PHP] Image Manipulation

2008-11-09 Thread Ron Piggott
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php image and javascript include

2008-09-14 Thread Ashley Sheridan
On Sun, 2008-09-14 at 10:23 +0200, Børge Holen wrote: > On Saturday 13 September 2008 23:35:47 Ashley Sheridan wrote: > > On Sat, 2008-09-13 at 23:24 +0200, Børge Holen wrote: > > > On Saturday 13 September 2008 01:34:41 Ashley Sheridan wrote: > > > > I've never been a huge fan of Vi or Vim, but I

Re: [PHP] php image and javascript include

2008-09-14 Thread Børge Holen
On Saturday 13 September 2008 23:35:47 Ashley Sheridan wrote: > On Sat, 2008-09-13 at 23:24 +0200, Børge Holen wrote: > > On Saturday 13 September 2008 01:34:41 Ashley Sheridan wrote: > > > I've never been a huge fan of Vi or Vim, but I am a fan of coding in a > > > text editor, not a GUI, I just g

RE: [PHP] php image and javascript include

2008-09-13 Thread Tom Shaw
Tom Shaw [EMAIL PROTECTED] -Original Message- From: Ashley Sheridan [mailto:[EMAIL PROTECTED] Sent: Saturday, September 13, 2008 4:36 PM To: Børge Holen Cc: php-general@lists.php.net Subject: Re: [PHP] php image and javascript include On Sat, 2008-09-13 at 23:24 +0200, Børge Holen w

Re: [PHP] php image and javascript include

2008-09-13 Thread Ashley Sheridan
On Sat, 2008-09-13 at 23:24 +0200, Børge Holen wrote: > On Saturday 13 September 2008 01:34:41 Ashley Sheridan wrote: > > I've never been a huge fan of Vi or Vim, but I am a fan of coding in a > > text editor, not a GUI, I just guess I prefer Kate. I know for certain > > that one thing that really

Re: [PHP] php image and javascript include

2008-09-13 Thread Børge Holen
On Saturday 13 September 2008 01:34:41 Ashley Sheridan wrote: > I've never been a huge fan of Vi or Vim, but I am a fan of coding in a > text editor, not a GUI, I just guess I prefer Kate. I know for certain > that one thing that really bugs me about Dreamweaver is the fact that it > has a tendency

Re: [PHP] php image and javascript include

2008-09-12 Thread Ashley Sheridan
I've never been a huge fan of Vi or Vim, but I am a fan of coding in a text editor, not a GUI, I just guess I prefer Kate. I know for certain that one thing that really bugs me about Dreamweaver is the fact that it has a tendency to really nerf up the spacing, and it replaces tabs with spaces more

Re: [PHP] php image and javascript include

2008-09-12 Thread Robert Cummings
On Fri, 2008-09-12 at 15:11 +0200, Børge Holen wrote: > On Friday 12 September 2008 12:02:13 you wrote: > > there's three letters > > > > VIM! > > yes and amiga still kicks ass. The old fashioned way works, ok. But ... after > a while, you still do the same old thing the same old way, while every

Re: [PHP] php image and javascript include

2008-09-12 Thread Børge Holen
er the code view, Dreamweaver is a little heavy, and > > it runs on an OS which is also a bit heavy, but that's for another > > discussion! > > > > > > Ash > > www.ashleysheridan.co.uk > > > > > > -- Forwarded message ------ >

Re: [PHP] php image and javascript include

2008-09-12 Thread Luke
tle heavy, and > it runs on an OS which is also a bit heavy, but that's for another > discussion! > > > Ash > www.ashleysheridan.co.uk > > > -- Forwarded message -- > From: Børge Holen <[EMAIL PROTECTED]> > To: php-general@lists.php.net

Re: [PHP] php image and javascript include

2008-09-09 Thread Ashley Sheridan
Kate has an auto text feature, and you can set it to start prompting from typing in as few characters as you wish, although it only prompts for things you've already typed, it this does save you from making obvious variable name typos as it will prompt the next time you try to use it, and it recogn

Re: [PHP] php image & javascript issue

2008-09-08 Thread javasac
alert('Hello Ronaldo'); } == -- View this message in context: http://www.nabble.com/php-image---javascript-issue-tp19376008p19376099.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (h

[PHP] php image & javascript issue

2008-09-08 Thread javasac
) { alert('Hello Ronaldo'); } == -- View this message in context: http://www.nabble.com/php-image---javascript-issue-tp19376008p19376008.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (h

Re: [PHP] php image and javascript include

2008-09-08 Thread Børge Holen
On Monday 08 September 2008 14:53:24 Jay Moore wrote: > > Dreamweaver? Eclipse? Pah, it's all about using a text editor! Kate (on > > KDE) is my preference ;) > > Heathen! > > Dreamweaver is awesome. Not for their WYSIWYG editor, but for their > code-only view and its auto-complete. > > Never have

Re: [PHP] php image and javascript include

2008-09-08 Thread Jay Moore
Dreamweaver? Eclipse? Pah, it's all about using a text editor! Kate (on KDE) is my preference ;) Heathen! Dreamweaver is awesome. Not for their WYSIWYG editor, but for their code-only view and its auto-complete. Never have I typed so little to get so... little. Jay -- PHP General Mailing

Re: [PHP] php image and javascript include

2008-09-07 Thread Ashley Sheridan
Dreamweaver? Eclipse? Pah, it's all about using a text editor! Kate (on KDE) is my preference ;) Ash www.ashleysheridan.co.uk --- Begin Message --- Reese schreef: b wrote: javasac wrote: [lots of stuff ...] Second, at least one of the image paths is relative to your own desktop computer's

Re: [PHP] php image and javascript include

2008-09-07 Thread Jochem Maas
Reese schreef: b wrote: javasac wrote: [lots of stuff ...] Second, at least one of the image paths is relative to your own desktop computer's drive (why is it that this always happens on a Windows box?) > > C:/wamp/www/yojoe-web/html/site/images/box_top_rht.

Re: [PHP] php image and javascript include

2008-09-07 Thread Reese
b wrote: javasac wrote: [lots of stuff ...] Second, at least one of the image paths is relative to your own desktop computer's drive (why is it that this always happens on a Windows box?) > > C:/wamp/www/yojoe-web/html/site/images/box_top_rht.jpg PEBKAC err

Re: [PHP] php image and javascript include

2008-09-07 Thread b
javasac wrote: [lots of stuff ...] I'm guessing that was the *output* of the PHP file, not the script itself. You've got a couple different errors here. The first is that you're not creating img tags. All you have here is the path to the image. A browser isn't going to do anything with that

Re: [PHP] php image and javascript include

2008-09-07 Thread Ashley Sheridan
   

Re: [PHP] php image and javascript include

2008-09-07 Thread Reese
javasac wrote: Where is the PHP? There's nothing between tags. Nothing between PHP short tags ( ), either. Reese -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php image and javascript include

2008-09-07 Thread Stut
On 7 Sep 2008, at 18:35, javasac wrote: I see no PHP in there. Please post the piece of PHP code you're having a problem with. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php image and javascript include

2008-09-07 Thread javasac
# images/login.png       # Forgot your password?     

Re: [PHP] php image and javascript include

2008-09-07 Thread javasac
l. > > Any idea? > > Thanks, > Sachin > -- > View this message in context: > http://www.nabble.com/php-image-and-javascript-include-tp19357706p19357706.html > Sent from the PHP - General mailing list archive at Nabble.com. > > > -- > PHP Gener

Re: [PHP] php image and javascript include

2008-09-07 Thread Ashley Sheridan
the .php file to .html, both thing start working. So no issues with path and all. Any idea? Thanks, Sachin -- View this message in context: http://www.nabble.com/php-image-and-javascript-include-tp19357706p19357706.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP Gen

[PHP] php image and javascript include

2008-09-07 Thread javasac
Hi All, Strange issue here. I m including images and javascript in my php file. None of them show/work up. If i change the .php file to .html, both thing start working. So no issues with path and all. Any idea? Thanks, Sachin -- View this message in context: http://www.nabble.com/php-image

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
bout using ImageMagik to do this? I know that you can exec() out to this from within Windows and Linux, and ImageMagik is free to use (as far as I'm aware) so it could be just what you need. Ash www.ashleysheridan.co.uk --------

Re: [PHP] Image Generation

2008-08-20 Thread Jochem Maas
Ash www.ashleysheridan.co.uk -------- Onderwerp: [PHP] Image Generation Van: "Alex Chamberlain" <[EMAIL PROTECTED]> Datum: Wed, 20 Aug 2008 08:29:50 +0100 Aan: "PHP General list" Aan: "PHP General list" Return-path: <

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

[PHP] Image Generation

2008-08-20 Thread Alex Chamberlain
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 represent all this on a single imag

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

[PHP] Image modifications

2008-05-25 Thread Ronald Wiplinger
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 really mature, since we have no idea wh

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

[PHP] image* Functions' Memory Usage

2008-01-04 Thread Casey
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 becomes too slow. I'm working on something to cache the images,

[PHP] Image functions: date?

2007-12-01 Thread Dotan Cohen
I remember once coming across a bit of php code that displayed the "created" date of a jpeg image. I cannot find it, and I cannot find anything related to that in tfm. Can someone give me a push in the general direction? Thanks in advance. Dotan Cohen http://what-is-what.com http://gibberish.co.i

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

  1   2   3   4   5   6   7   8   9   >