Results 1 to 3 of 3

Thread: Random image script not showing ads

  1. #1
    Join Date
    Aug 2017
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Angry Random image script not showing ads

    1) Script Title: Random Image Script

    2) Script URL (on DD): http://decoymag.com/classifieds/classifi.htm

    3) Describe problem: When I preview in my browser from Dreamweaver, this script works PERFECTLY. However, once I upload it to the server, the ad image doesn't appear at ALL. I've tried countless different things and still can't figure it out. The advertiser is mad and I can't say that I blame him. This shouldn't be so hard! The ad image appears below the main 'CLASSIFIEDS' header and before the text which begins "Following is a complete list of..." If I link directly to the ad images alone, they appear correctly in the browser. BTW, I'm using most recent version of Opera with Win7 but that shouldn't matter in this case.

    H E L P P L E A S E ! ! ! ! ! ! ! ! Before I get fired!!!! :O

    THANK YOU SO MUCH!!!!!!!!!!!!!!!!!

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,377
    Thanks
    77
    Thanked 3,422 Times in 3,383 Posts
    Blog Entries
    12

    Default

    There's really no problem I can see except in my one browser where I have adblock enabled. For some reason it recognizes these images as advertisements and blocks them. This could be due to the fact that the images are in a folder named 'advertisers'. Try using a different folder name like 'decoyimages' (avoid anything that has 'ad' in its name), move the images there and make sure to update the code to reflect the new location.

    The browser cache may have to be cleared and/or the page refreshed to see changes.


    A way to test this is to see if you have an adblocker program enabled for the page and if so turn it off and refresh the page, the image should show up.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    dingbatqueen (08-15-2017)

  4. #3
    Join Date
    Aug 2017
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Hi John,

    My ad blockers are turned off and still I can't see the ad. I'm going to follow your suggestions and see if it works. THANK YOU SO MUCH for your response; I appreciate it!!

    -- Karen

Similar Threads

  1. Showing a random image from Google search
    By eloureiro in forum Looking for such a script or service
    Replies: 0
    Last Post: 06-20-2012, 01:50 AM
  2. Random Content Order script Showing Symbol On Page?
    By Murray644 in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 07-31-2011, 05:28 PM
  3. looking for php random image plus random alt from folder script
    By Marquis in forum Looking for such a script or service
    Replies: 0
    Last Post: 01-05-2009, 07:31 PM
  4. Opera Not Showing Random iframe content
    By elleink in forum Dynamic Drive scripts help
    Replies: 7
    Last Post: 12-29-2008, 07:59 PM
  5. Random Image JS Script, refresh/reloads 4 image w/rotation to next Ad Box
    By giban in forum Looking for such a script or service
    Replies: 6
    Last Post: 11-26-2008, 07:32 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •