Re: [PHP] image inventoryer

2012-04-08 Thread tamouse mailing lists
On Sat, Apr 7, 2012 at 10:35 PM, Kirk Bailey kbai...@howlermonkey.net wrote: html head titleImage inventory of this directory/title style TYPE=text/css body { margin-left: 10; margin-right: 10%; } body {background-attachment:fixed;} A:link, A:visited,  A:active { text-decoration:none; }

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

Re: [PHP] image inventoryer

2012-04-08 Thread Tedd Sperling
Kirk: Okay, you took the first step. Now please review this: ?php foreach (glob(images/*.jpg) as $filename) { echo(img src=\$filename\br$filename brbr); } ? Note: 1. This example does not put in all the embedded formatting shown in your example. What you did was simply bad form -- you

[PHP] image inventoryer

2012-04-07 Thread Kirk Bailey
html head titleImage inventory of this directory/title style TYPE=text/css 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;}

Re: [PHP] image inventoryer

2012-04-06 Thread Jim Giner
Kirk Bailey kbai...@howlermonkey.net 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

Re: [PHP] image inventoryer

2012-04-06 Thread David OBrien
On Fri, Apr 6, 2012 at 8:34 AM, Jim Giner jim.gi...@albanyhandball.comwrote: Kirk Bailey kbai...@howlermonkey.net 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

Re: [PHP] image inventoryer

2012-04-06 Thread Jim Giner
David OBrien dgobr...@gmail.com 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

Re: [PHP] image inventoryer

2012-04-06 Thread David OBrien
On Apr 6, 2012 9:51 AM, Jim Giner jim.gi...@albanyhandball.com wrote: David OBrien dgobr...@gmail.com 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

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 img src=./foo.typeP tags emitted in it's structure, one per file in the directory with a saught file type- .png, .gif, .jpg, you get the

Re: [PHP] image inventoryer

2012-04-06 Thread tamouse mailing lists
On Thu, Apr 5, 2012 at 10:04 PM, Kirk Bailey kbai...@howlermonkey.net 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

Re: [PHP] image inventoryer

2012-04-06 Thread Jim Giner
tamouse mailing lists tamouse.li...@gmail.com 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] 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 img src=./foo.typeP 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

Re: [PHP] image inventoryer

2012-04-05 Thread Tommy Pham
On Thu, Apr 5, 2012 at 7:26 PM, Kirk Bailey kbai...@howlermonkey.net 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

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

Re: [PHP] image inventoryer

2012-04-05 Thread Kirk Bailey
ok. ?php filelist=inventory all files in directory ./ for file in filelist: // walk a listing of many items IF filetype in gif, jpg, png { echo 'img src=./'.file.'P' // notice that is a 'singlequote' immedately followed by a doublequote. ? Something like this. In python I would

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:

Re: [PHP] image inventoryer

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

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

[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

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

[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

[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

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. We

Re: [PHP] Image Replication

2010-07-20 Thread rehmanms
-general@lists.php.net 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. We have a PHP application that accepts an image upload, then we want it to show up on the other

Re: [PHP] Image Replication

2010-07-20 Thread Bastien Koert
...@gmail.com Date: Tue, 20 Jul 2010 10:21:55 To: PHP eMail Listphp-general@lists.php.net 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. We have a PHP

[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

[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

[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].br/\n; echo name:

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

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 {

[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

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 headers

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 a...@ashleysheridan.co.ukwrote: 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

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 a...@ashleysheridan.co.ukwrote: 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

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 have

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 bdun...@agentintellect.comwrote: @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

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 bdun...@agentintellect.com wrote: @Adam The headers_sent() wasa test to ensure that no other data was creeping

[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 Kevin Waterson
This one time, at band camp, Stephen Alistoun stephenalist...@gmail.com 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

Re: [PHP] Image Resizing

2008-12-21 Thread Jason Paschal
i use imageMagick: ?php $image_path = ../images/myimage.jpg; //path to the image from my script $thumb_path = ../thumbnails/mymage.jpg;//path to where i want the thumbnail to be created $width = 100; //greatest allowed width for my thumbnails $height = 100; //greatest allowed

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

Re: [PHP] Image Resizing

2008-12-21 Thread Gary Maddock-Greene
nice post Tedd and useful web site :) -Gary tedd tedd.sperl...@gmail.com 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

[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

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

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:

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

Re: [PHP] Image Manipulation

2008-11-09 Thread Jochem Maas
/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 printed a T-Shirt to celebrate

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 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 guess I

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 am a fan

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 to

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 bugs

RE: [PHP] php image and javascript include

2008-09-13 Thread 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 wrote

Re: [PHP] php image and javascript include

2008-09-12 Thread Luke
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 Date: Mon, 08 Sep 2008 14:57:34 +0200 Subject: Re: [PHP] php image and javascript include On Monday 08

Re: [PHP] php image and javascript include

2008-09-12 Thread Børge Holen
for another discussion! Ash www.ashleysheridan.co.uk -- Forwarded message -- From: Børge Holen [EMAIL PROTECTED] To: php-general@lists.php.net Date: Mon, 08 Sep 2008 14:57:34 +0200 Subject: Re: [PHP] php image and javascript include On Monday 08 September

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 everything

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

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-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 I typed

[PHP] php image javascript issue

2008-09-08 Thread javasac
/html === test.js function Hello() { alert('Hello Ronaldo'); } == -- View this message in context: http://www.nabble.com/php-image---javascript-issue-tp19376008p19376008.html Sent from

Re: [PHP] php image javascript issue

2008-09-08 Thread javasac
']; echo 'My name is ' . $name; ? /body /html === test.js function Hello() { alert('Hello Ronaldo'); } == -- View this message in context: http://www.nabble.com/php-image

[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: [PHP] php image and javascript include

2008-09-07 Thread Ashley Sheridan
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 General

Re: [PHP] php image and javascript include

2008-09-07 Thread javasac
: http://www.nabble.com/php-image-and-javascript-include-tp19357706p19357706.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http

Re: [PHP] php image and javascript include

2008-09-07 Thread javasac
://www.nabble.com/php-image-and-javascript-include-tp19357706p19360501.html Sent from the PHP - General mailing list archive at Nabble.com. -- 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: snip code 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 Reese
javasac wrote: snip Where is the PHP? There's nothing between ?php and ? tags. Nothing between PHP short tags ( ? and ? ), 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 Ashley Sheridan
valign=topnbsp;/td /tr /table /td /tr /table /body /html -- View this message in context: http://www.nabble.com/php-image-and-javascript-include-tp19357706p19360501.html Sent from the PHP - General mailing list archive

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

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?) td width=11 C:/wamp/www/yojoe-web/html/site/images/box_top_rht.jpg /td

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?) td width=11

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 ---BeginMessage--- 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

[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

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

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

Re: [PHP] Image Generation

2008-08-20 Thread Jochem Maas
Onderwerp: [PHP] Image Generation Van: Alex Chamberlain [EMAIL PROTECTED] Datum: Wed, 20 Aug 2008 08:29:50 +0100 Aan: PHP General list php-general@lists.php.net Aan: PHP General list php-general@lists.php.net Return-path: [EMAIL PROTECTED] Envelope

Re: [PHP] Image Generation

2008-08-20 Thread Ashley Sheridan
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 Onderwerp: [PHP] Image Generation Van: Alex

Re: [PHP] Image Generation

2008-08-20 Thread Jochem Maas
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: Alex Chamberlain [EMAIL PROTECTED], PHP General list

Re: Re: [PHP] Image Generation

2008-08-20 Thread php
: Re: [PHP] Image Generation Van: Jochem Maas Datum: Wed, 20 Aug 2008 11:06:14 +0200 Aan: [EMAIL PROTECTED] [3] Aan: [EMAIL PROTECTED] [4] CC: Alex Chamberlain , PHP General list Return-path: [EMAIL PROTECTED] Envelope-to: [EMAIL

Re: Re: [PHP] Image Generation

2008-08-20 Thread Ashley Sheridan
: [PHP] Image Generation Van: Jochem Maas Datum: Wed, 20 Aug 2008 11:06:14 +0200 Aan: [EMAIL PROTECTED] [3] Aan: [EMAIL PROTECTED] [4] CC: Alex Chamberlain , PHP General list Return-path: [EMAIL PROTECTED] Envelope-to: [EMAIL PROTECTED] [7

Re: Re: [PHP] Image Generation

2008-08-20 Thread Ashley Sheridan
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

[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 where to

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 really mature,

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 is

[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

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 becomes

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 kind of

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 high by

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

[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.il

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

[PHP] image galleries

2007-11-21 Thread Lisa A
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. thanks, Lisa A -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Image manipulation on the fly

2007-11-08 Thread Merlin
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. Does anybody know a high performing image

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

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

[PHP] Image Conversion...

2007-09-08 Thread Tony Di Croce
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 integrated with PHP itself? td

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

  1   2   3   4   5   6   7   8   >