Comments on: PHP Random Images With Links http://www.blogtycoon.net/php-random-images-with-links I love the smell of profit in the morning.Fri, 12 Mar 2010 10:03:36 +0200http://wordpress.org/?v=2.9.2hourly1By: Chip http://www.blogtycoon.net/php-random-images-with-links/comment-page-1#comment-4678 ChipMon, 25 Jan 2010 20:24:14 +0000http://www.blogtycoon.net/?p=865#comment-4678@jonathan: Why? What happens? Did you try changing line 16, and add <code>target="_blank"</code>?@jonathan: Why? What happens? Did you try changing line 16, and add target="_blank"? ]]>By: jonathan http://www.blogtycoon.net/php-random-images-with-links/comment-page-1#comment-4671 jonathanSun, 24 Jan 2010 22:15:59 +0000http://www.blogtycoon.net/?p=865#comment-4671i carnt seem to get images to link parent _blank. any helpi carnt seem to get images to link parent _blank. any help ]]>By: Chip http://www.blogtycoon.net/php-random-images-with-links/comment-page-1#comment-3652 ChipThu, 12 Nov 2009 14:50:40 +0000http://www.blogtycoon.net/?p=865#comment-3652Guys, I am using this script for random ads shown on several of my sites. I don't have any problem with it. It seems that the array is not defined correctly. This code <code>$random_img_url = $array[$key]['img_url'];</code> extracts the images from the folder using url, alt and img_url keys. That's why I'm asking if the path is correct, if the images exist and if you didn't forgot a single-quote or something. Could you put the script online and point me to it? I'll look in the source and tell you if anything is broken.Guys, I am using this script for random ads shown on several of my sites. I don’t have any problem with it. It seems that the array is not defined correctly. This code $random_img_url = $array[$key]['img_url']; extracts the images from the folder using url, alt and img_url keys.

That’s why I’m asking if the path is correct, if the images exist and if you didn’t forgot a single-quote or something. Could you put the script online and point me to it? I’ll look in the source and tell you if anything is broken.

]]>
By: denis http://www.blogtycoon.net/php-random-images-with-links/comment-page-1#comment-3643 denisWed, 11 Nov 2009 22:32:20 +0000http://www.blogtycoon.net/?p=865#comment-3643i have the same problem than Chip. The line 15 is list($img_width, $img_height) = getimagesize($random_img_url); My pictures are 237x178 Thanks the scripts sounds goodi have the same problem than Chip. The line 15 is

list($img_width, $img_height) = getimagesize($random_img_url);

My pictures are 237×178

Thanks the scripts sounds good

]]>
By: Chip http://www.blogtycoon.net/php-random-images-with-links/comment-page-1#comment-3640 ChipWed, 11 Nov 2009 19:54:09 +0000http://www.blogtycoon.net/?p=865#comment-3640Is the image too big? Is the path correct? What is on line 15?Is the image too big? Is the path correct? What is on line 15? ]]>By: Simon http://www.blogtycoon.net/php-random-images-with-links/comment-page-1#comment-3629 SimonTue, 10 Nov 2009 00:29:26 +0000http://www.blogtycoon.net/?p=865#comment-3629how do u use the include tag? ? Warning: getimagesize(images/3.png) [function.getimagesize]: failed to open stream: No such file or directory in /home/content/s/i/m/simonshum/html/wp-content/themes/SR3/ads.php on line 15 It confuses me because that's exactly where i put the php file.. Help? i'm doing this in wordpress When i did this, it returned something like this :how do u use the include tag?

?

Warning: getimagesize(images/3.png) [function.getimagesize]: failed to open stream: No such file or directory in /home/content/s/i/m/simonshum/html/wp-content/themes/SR3/ads.php on line 15

It confuses me because that’s exactly where i put the php file.. Help? i’m doing this in wordpress
When i did this, it returned something like this :

]]>
By: wie yoga http://www.blogtycoon.net/php-random-images-with-links/comment-page-1#comment-3565 wie yogaSat, 31 Oct 2009 01:28:40 +0000http://www.blogtycoon.net/?p=865#comment-3565Hey, thanks for this php random image filesHey, thanks for this php random image files ]]>By: Chip http://www.blogtycoon.net/php-random-images-with-links/comment-page-1#comment-2910 ChipThu, 07 May 2009 05:59:33 +0000http://www.blogtycoon.net/?p=865#comment-2910You could place in you CSS stylesheet "img {border:0}", without the quotes. Or add "border="0"" inside the image tags, again without the quotes.You could place in you CSS stylesheet “img {border:0}”, without the quotes. Or add “border=”0″” inside the image tags, again without the quotes. ]]>By: Raphael http://www.blogtycoon.net/php-random-images-with-links/comment-page-1#comment-2909 RaphaelTue, 05 May 2009 15:59:47 +0000http://www.blogtycoon.net/?p=865#comment-2909Hey, thanks for this php random image files, everything is working perfectly in my website, but now because the images have a link attached, there´s now a blue border around the image that I don´t know how to get it off the images. do you have any idea of what I can do? I aprecciate any helpHey, thanks for this php random image files, everything is working perfectly in my website, but now because the images have a link attached, there´s now a blue border around the image that I don´t know how to get it off the images. do you have any idea of what I can do? I aprecciate any help ]]>