Techwarelabs Community

Techwarelabs Community (https://www.techwarelabs.com/community/index.php)
-   General Board (https://www.techwarelabs.com/community/forumdisplay.php?f=7)
-   -   No more random image for me! (https://www.techwarelabs.com/community/showthread.php?t=3724)

Uranium-235 05-10-2003 04:38 AM

No more random image for me!
 
Random quote now. The script reads a text file of 15,322 quotes, and generates an image with the text from a randomly selected quote.

I have a funny feeling my bandwidth will go way up with people wanting to read more quotes just F5'ing alot :/

I wanted to make the background transparent (It's a PNG and GD does not support Gif anymore). But IE has a PNG bug that will not show transperant layers. :shake:

I set a URL rewriter so I could change the text color and the background color simply by changing the URL to the image, but since PHPBB rotates it's background color for posts, it's kinda pointless :/

Grinnin Reaper 05-10-2003 09:02 AM

Gonna miss some of the images man. But I'm sure we'll like the quotes.

Keefe 05-10-2003 09:31 AM

You should still post that random funney images here.

How about a random funney image of the day?

Uranium-235 05-10-2003 12:23 PM

I don't have that many (only about 70 pics)

besides, with over 15,000, it's more random, those were getting old after about 2 years anyways.

oh and there's also a 'view source' button under it. So you can see the magic behind scenes

TheRogue 05-10-2003 05:13 PM

it's even more cool as it generates a random quote per post, not per thread!

Uranium-235 05-10-2003 05:48 PM

it doesn't for me. Your cache settings must be different.

well, transperancy somehow works for IE. I don't understand it.

oh well. fine with me

TheRogue 05-13-2003 02:05 AM

works in mozilla (1.4b) as well perfectly :D

Uranium-235 05-13-2003 02:29 AM

I already tested it in the other major browsers, including mozilla.

Yeah they can do it right.

From what I can tell, IE has problems with transperant layers, not pixels

guest 06-24-2003 07:35 AM

i haven't got a clue how this works, where do you place the files on your server? Is there anything you should edit in the php-file? Are there rules how you should place the quotes in the textfile? Please help me, because this script is waaaay cool :D

06-25-2003 02:10 AM

*bump*

anyone???


All times are GMT -5. The time now is 03:25 AM.

Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.