Welcome Guest, Not a member yet? Register   Sign In
Using Image_moo with uploadify
#2

[eluser]trinic[/eluser]
This is the function that gets the image in my controller.

Code:
public function photos_get($id)
{
     $photos = '';
     $intellPhotos = $this->intell_model->getIntellPhotos($id);
     foreach ($intellPhotos as $p) {
  $photos .= '<div>';
  $photos .= '<div class="photodelete" id="photo_' . $p-&gt;id . '">[ X ]</div><br />';
  $photos .= '<img src="' . base_url() . 'intelluploads/' . $p-&gt;location . '" height="100" />';
  $photos .= '</div>';
     }
     $photos .= '<div class="clear"></div>';
     echo($photos);
}

What i'm trying to do is have a thumbnail image created and have the thumb_ prefix on it so I can just use the same filename, etc, with the prefix to display the thumbnails.


Messages In This Thread
Using Image_moo with uploadify - by El Forum - 02-24-2012, 04:56 PM
Using Image_moo with uploadify - by El Forum - 02-24-2012, 04:59 PM
Using Image_moo with uploadify - by El Forum - 02-27-2012, 02:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB