How can I replace the standard broken image placeholder .. ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Adult Site Traffic
    Confirmed User
    • Mar 2003
    • 5093

    #1

    How can I replace the standard broken image placeholder .. ?

    Well:

    I want to set up a members area where the icons and the thumbs are not in a protected area.

    The full sized images and video are in a protected area BUT they are on html, so, all I get is a broken image. (If they were not on html they would just redirect to the 403, but I need them on html due to some of the features).

    What I want to do is replace the standard broken image with an image that tells them why they are not seeing what they expected and what they need to do (log in or join).

    .

    ALL Domains and Websites are GOING AWAY NOW! Ask me!
    Many great domains, mainstream and adult, some complete sites with databases, some names with traffic and PR, some investment quality names. Come take a look! { Traffic Orders: Please go here }

    .:: SHARPEN the Elite - BURN the leftovers! Ooh-Rah!! ::.
  • Adult Site Traffic
    Confirmed User
    • Mar 2003
    • 5093

    #2
    I know there are some gurus on this board.

    .

    ALL Domains and Websites are GOING AWAY NOW! Ask me!
    Many great domains, mainstream and adult, some complete sites with databases, some names with traffic and PR, some investment quality names. Come take a look! { Traffic Orders: Please go here }

    .:: SHARPEN the Elite - BURN the leftovers! Ooh-Rah!! ::.

    Comment

    • GeorgeK
      Confirmed User
      • Dec 2003
      • 423

      #3
      Using Mod Rewrite, it should be possible. I'm not an expert on it, but you can get some clues at:

      http://www.webmasterworld.com/forum92/2783.htm
      I buy good domain names. Send lists to George (at) LOFFS.com

      Comment

      • Adult Site Traffic
        Confirmed User
        • Mar 2003
        • 5093

        #4
        Originally posted by GeorgeK
        Using Mod Rewrite, it should be possible. I'm not an expert on it, but you can get some clues at:

        http://www.webmasterworld.com/forum92/2783.htm
        Yes, I may have to look into doing it with mod_rewrite, except for just thinking that over it sounds kind of like a hotlink redirect, but I can't do that because it's on the same domain, and logged in users need to be able to view them. ..

        ALL Domains and Websites are GOING AWAY NOW! Ask me!
        Many great domains, mainstream and adult, some complete sites with databases, some names with traffic and PR, some investment quality names. Come take a look! { Traffic Orders: Please go here }

        .:: SHARPEN the Elite - BURN the leftovers! Ooh-Rah!! ::.

        Comment

        • GeorgeK
          Confirmed User
          • Dec 2003
          • 423

          #5
          Maybe a creative .htaccess would work, if that's what you're using for the login method? Although, I'm not sure how .htaccess and mod_rewrite would work in combination. (I think you basically want to use the rewrite only if you get the "forbidden access" error type, and hopefully using one or the other would let you filter it in precisely that event)
          I buy good domain names. Send lists to George (at) LOFFS.com

          Comment

          • Adult Site Traffic
            Confirmed User
            • Mar 2003
            • 5093

            #6
            No, I use a script that replaces Browser based Basic Access validation with a more secure version of user tracking and validation of its own. It's reading data from .htaccess and replacing Apache's Browser based Basic authentication.

            This is going to be hard

            .

            ALL Domains and Websites are GOING AWAY NOW! Ask me!
            Many great domains, mainstream and adult, some complete sites with databases, some names with traffic and PR, some investment quality names. Come take a look! { Traffic Orders: Please go here }

            .:: SHARPEN the Elite - BURN the leftovers! Ooh-Rah!! ::.

            Comment

            • GeorgeK
              Confirmed User
              • Dec 2003
              • 423

              #7
              Are non-members loading the raw .gif or .jpg images? Or are they attempting to load a HTML page? If it's the latter, perhaps using some SSI or PHP code (i.e. if logged in, show aaaaa html code, else show bbbbbb html code) might do the trick?
              I buy good domain names. Send lists to George (at) LOFFS.com

              Comment

              • psyko514
                See sig. Join Epic Cash.
                • Oct 2002
                • 22366

                #8
                It definetly is possible. I know SuicideGirls.com does it. But I have no idea how.

                Bad Girl Bucks
                - 50% Revshare through CCBill.
                Promote BrandyDDD, Pixie's Pillows, Action Allie and more!

                Phoenix Forum Pics | Webmaster Access Montreal pics
                email: psyko514(a)gmail.com | icq: 214-702-014

                Comment

                • tranza
                  ICQ: 197-556-237
                  • Jun 2003
                  • 57559

                  #9
                  This would be nice to know...
                  I'm just a newbie.

                  Comment

                  • Calvinguy
                    Confirmed User
                    • Oct 2002
                    • 1752

                    #10
                    Code:
                    <img src="photo.jpg" OnError="this.src='error.gif'">

                    Comment

                    Working...