Welcome Guest, Not a member yet? Register   Sign In
Problem with images: img()
#1

[eluser]Juan Velandia[/eluser]
Hello guys, after some time dealing with this issue I decided to ask for help:

this is working:
Code:
"<img >photo ?&gt;" class="main"/>"

but this isn't working, I doesnt show the image or the attributes.

Code:
&lt;? $image_properties = array(
          'src' => 'system/application/views/images/'.$row->photo,
          'class' => 'main')
          'alt' => 'logo');
        
    img($image_properties);
?&gt;
I just don't seem to find the answer, any ideas?
#2

[eluser]Juan Velandia[/eluser]
Ok, sorry I've found a solution...




Theme © iAndrew 2016 - Forum software by © MyBB