|
|
|
|
|
|
|
![]() |
#1 |
a.k.a. Sparky
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
|
If you use a script to copy the picture to a predefined location, the source location is hidden.
And typically sponsor programs want their POTD thumbnail to be hotlinkable.
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
![]() |
![]() |
![]() |
#2 |
The only guys who wear Hawaiian shirts are gay guys and big fat party animals
|
If you're rotating the pic each day a really simple and fast way is to
use the date variables in rewrite. This example is from a guy who wanted 7 pics, so they would repeat each week. You can change the variable to rotate through 31 pics, one for each day of the month, or 366 pics, one for each day of the year. The HTML code: Code:
<a href="potd.jpg"><img src="tn_potd.jpg></a> RewriteRule ^tn_potd.jpg $ tn_%{TIME_WDAY}.jpg RewriteRule ^potd.jpg $ %{TIME_WDAY}.jpg SSI can also be used similarly, by echoing the proper portion of the current date or time as part of the file name. |
![]() |
![]() |
![]() |
|
|