Thread: 2 Suggestions
View Single Post
Old December 24th, 2004, 09:45 AM   #11 (permalink)
StewardManscat
Member
Verified Customer
 
Join Date: Jun 2004
Posts: 131
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
StewardManscat is offline   Reply With Quote