SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    May 2011
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Rewriting external image URLs

    Quick question - is it possible to re-write the URLs of externally hosted images so that an image residing at:

    http://www.yourdomain.com/16151146112625252626.jpg

    Will appear to reside at:

    http://www.mydomain.com/images/nicely-named-image.jpg

    I'm not worried about the system for actually coming up with a nice, clean name, just whether it's technically possible.

    Rationale: it's a minor cosmetic thing; I'm pulling in third-party images legitimately and would prefer that users see them as hosted on my site should they look to save any down.

    Any advice appreciated.

    Thanks!

  2. #2
    SitePoint Member
    Join Date
    Aug 2012
    Location
    Manchester
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i guess where ever the image is hosted there would probably need to be some sort of redirect in place? Or it may simply be the case of having the image on the server the domain is pointed at??


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
  •