Hello all,
I have an admin view set up at /view
so in the browser it looks like (when logged in as admin):
mysite.com/admin/view
on this page is a thumbnail of one image with a link to another
image.
echo $html->link($html->image($thumbnail_url , array('alt' =>
'Thumbnail')), '../img/'.$fullsize_url, array('target' => '_blank'),
null, false );
that outputs the image ($thumbnail_url) just fine
mysite.com/img/thumbnail_name.jpg
BUT the link is formatted as such:
mysite.com/admin/img/image_name.jpg
I have tried adding 'admin'=>'false' to the helper like so:
echo $html->link($html->image($thumbnail_url , array('alt' =>
'Thumbnail', 'admin'=>'false')), '../img/'.$fullsize_url, array
('target' => '_blank'), null, false );
or
echo $html->link($html->image($thumbnail_url , array('alt' =>
'Thumbnail')), '../img/'.$fullsize_url, array('target' => '_blank',
'admin'=>'false'), null, false );
I assume the I am adding the 'admin'=>'false' to the wrong part of
the helper string. anyone have an idea?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---