Support » Fixing WordPress » Random Logo Image – please help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Random WordPress Plugins: Rotating Banners, Header Art, Images, Quotes, and Content on Your Blog

    I’m sure there must be a whole bunch of plugins to do that pretty easily?

    Hoping someone can troubleshoot the actual code I posted.

    Really hope someone can provide a fix/solution – maybe see a mistake in the code or what not?

    is rotate.php printing anything to the screen? Make sure it has an echo/print because it needs to return the image name. You can call the file directly to test, like http://airfoolers.com/path/path/….rotate.php and it should print the image to the screen.

    gworks

    Thank you for the reply …

    rotate.php is not printing anything to the screen I guess.

    http://airfoolers.com/wp-content/themes/airfoolers/airfoolers/images/bgimage/rotate.php in the browser gives me this error.

    Warning: opendir(http://www.airfoolers.com/wp-content/themes/airfoolers/airfoolers/images/bgimage/) [function.opendir]: failed to open dir: not implemented in /home/saul/public_html/wp-content/themes/airfoolers/airfoolers/images/bgimage/rotate.php on line 171

    Warning: readdir(): supplied argument is not a valid Directory resource in /home/saul/public_html/wp-content/themes/airfoolers/airfoolers/images/bgimage/rotate.php on line 172

    Warning: closedir(): supplied argument is not a valid Directory resource in /home/saul/public_html/wp-content/themes/airfoolers/airfoolers/images/bgimage/rotate.php on line 180

    Warning: Cannot modify header information – headers already sent by (output started at /home/saul/public_html/wp-content/themes/airfoolers/airfoolers/images/bgimage/rotate.php:171) in /home/saul/public_html/wp-content/themes/airfoolers/airfoolers/images/bgimage/rotate.php on line 195
    ‰PNG  ��� IHDR���d���d���J,���PLTEÿÿÿ���UÂÓ~���TIDAT8c3ž(ðü@íó¾ 0QZS„ÁQ$ÐÂueAá±7TÂy‚µ& ŽÏ’Bõ ºõ¹  ñT&z@mpÚ âçBW‚Q0 F‘��åå×X‹Ü4����IEND®B`‚

    Can you decipher what that means? Please.

    Opening http://airfoolers.com/wp-content/themes/airfoolers/airfoolers/images/bgimage/rotate.php, I can see images being displayed. What is happening is that the file is returning the image and not it’s url ( which is what you need). You can use that in an image tag in your html. Like so:

    <img src=”http://airfoolers.com/wp-content/themes/airfoolers/airfoolers/images/bgimage/rotate.php”>

    To use it in a stylesheet, you would need to modify the code, eliminating the image mime type so the file echos a url rather than return the image.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Random Logo Image – please help!’ is closed to new replies.