Ads on .JPG?

Discussion in 'HTML & Website Design' started by Dragonkiller, Apr 18, 2010.

  1. #1
    Dragonkiller, Apr 18, 2010 IP
  2. Hollow

    Hollow Well-Known Member

    Messages:
    362
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    130
    #2
    hm. it appears to just be a redirection of the whole domain and it's contents, interesting nonetheless
     
    Hollow, Apr 18, 2010 IP
  3. Piggy

    Piggy Active Member

    Messages:
    574
    Likes Received:
    9
    Best Answers:
    1
    Trophy Points:
    70
    #3
    I don't get what you're asking, lol. They've just got the /picture.jpg redirected to the home page. And if that's not what it is, then /picture.jpg doesn't exist, and they've got it set to instead of showing a 404 message, you just get redirected to the home page.
     
    Piggy, Apr 18, 2010 IP
  4. deaglezor

    deaglezor Member

    Messages:
    52
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    38
    #4
    He's trying to show us example via "domain.com". But I don't understand either what he means..
     
    deaglezor, Apr 19, 2010 IP
  5. Nordvind

    Nordvind Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    In all means, not the best kind of ad. Very much like a doorway.
     
    Nordvind, Apr 19, 2010 IP
  6. Ibn Juferi

    Ibn Juferi Prominent Member

    Messages:
    6,221
    Likes Received:
    365
    Best Answers:
    0
    Trophy Points:
    310
    #6
    I don't get your question. Can you please explain what exactly you want to know so that we can help you?
     
    Ibn Juferi, Apr 19, 2010 IP
  7. javier.garcia.esteban

    javier.garcia.esteban Well-Known Member

    Messages:
    66
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    118
    #7
    I think he included the url just an example, not for the actual content :p.

    If you want an image to display certain things on it (watermark or whatever) you have 2 options:

    Static: you simply edit the image as you want (obvious :p)

    Dynamic: you want all your images (or certain images) to display the watermark. You'll have to:
    - Rewrite your images via .htaccess and point them to a script (ie: PHP). domain .com/image.jpg -> domain. com/image.php?image=image.jpg
    - Write a script that takes the picture (image.jpg), adds the watermark and returns the new image.
    - Also caching the generated images would be a good idea.

    Needless to say, but just in case: images can't display actual text, HTML, etc. This is of course for an image file type (ie. "image/jpeg"); a url that looks like an image (.jpg) can be actually returning another file type.
     
    Last edited: Apr 20, 2010
    javier.garcia.esteban, Apr 20, 2010 IP
  8. BarbaraACF

    BarbaraACF Peon

    Messages:
    66
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I don't think that can be done
     
    BarbaraACF, Apr 20, 2010 IP