Forum Moderators: coopster

Message Too Old, No Replies

Advantage and Disadvantage of using Dynamic Address on an IMG

         

paperso

6:06 am on Nov 16, 2010 (gmt 0)

10+ Year Member



What are the advantage and disadvantage of using dynamic address on an image

eg. <img src="http://mydomain.com/image.php?id=1" alt="" />

enigma1

8:11 pm on Nov 16, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



some come to mind

pros
- useful against hot/direct image linking
- can control browser cache
- can protect images with coldlinking/watermarks
- can generate/manage thumbnails/effects directly from the server end

cons
- harder to develop/manage
- may backfire against spiders who cache/crawl images - SEO

also you having a full url for the image like you posted may create complications for non-secure/secure pages as the same image may appear for both page types. Best to use a relative path.