| Re: 2 Suggestions
If anything come of these and similar suggestions, let us hope for greater granularity of the link and image information available to the template. I'd wish for:
$image[height]=200
$image[width]=480
$image[player]='gallery/misc.php?do=something&i=76542'
$image[alt]='My Wedding'
$image[relativedir]='files/3/4/5'
$image[ext]='wmv'
$image[basename]='mywedding'
$image[src]=http://www.mysite.com/gallery/files/3/4/5/mywedding.jpg
(Ok,ok so my sample values don't all make sense taken together)
Etc etc. In other words, let us build the anchor and image tags in the template.
Break up that contruct_image_url(), and you can still use the pieces to duplicate existing functionality, and return the composite template variables. But also give me the weapons to blow a large hole in my foot.
Cheers
|