Welcome Guest, Not a member yet? Register   Sign In
base_url() and url helper
#12

[eluser]elaniobro[/eluser]
Thanks for the input. I do have a question though regarding the img(); How do you put the array's in for the attributes?

Code:
<?= img('img/nav/nav_biography_a.png', array('id'=>'bio','height' => '100', 'width' => '20', 'alt' => 'bio'))?>

viewing the source does not display any of the attributes.

after reading the wiki it says to do so as such:
Code:
$image_properties = array(
          'src' => 'images/picture.jpg',
          'alt' => 'Me, demonstrating how to eat 4 slices of pizza at one time',
          'class' => 'post_images',
          'width' => '200',
          'height' => '200',
          'title' => 'That was quite a night',
          'rel' => 'lightbox',
);

img($image_properties);

That method does not seem practical.


Messages In This Thread
base_url() and url helper - by El Forum - 02-27-2010, 03:06 PM
base_url() and url helper - by El Forum - 02-27-2010, 06:02 PM
base_url() and url helper - by El Forum - 02-27-2010, 06:08 PM
base_url() and url helper - by El Forum - 02-27-2010, 06:13 PM
base_url() and url helper - by El Forum - 02-27-2010, 06:13 PM
base_url() and url helper - by El Forum - 02-27-2010, 06:15 PM
base_url() and url helper - by El Forum - 02-27-2010, 06:27 PM
base_url() and url helper - by El Forum - 02-27-2010, 06:29 PM
base_url() and url helper - by El Forum - 02-27-2010, 06:40 PM
base_url() and url helper - by El Forum - 02-27-2010, 06:53 PM
base_url() and url helper - by El Forum - 02-28-2010, 04:58 AM
base_url() and url helper - by El Forum - 02-28-2010, 11:13 AM
base_url() and url helper - by El Forum - 02-28-2010, 11:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB