i tried adding image using following code. below code generates
"directory-name/add-more.png" path.
e($html->image("add-more.png"));

I want to add above image using <img> tag through src attribute for
some reason and i do not want to use the directory name where the file
exists, hardcoded as the directory name might change in future. So i m
looking for a better option.

$html->link generates along with <a> tag.

Please help...
Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to