Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Dylan Lopez
Added: Mar 5, 2018 8:46 AM
Modified: Mar 5, 2018 8:49 AM
Views: 5
  1. <img src="<?php echo image("media/smiles.png", "wide"); ?>" alt="smiles" />
  2. //This will eventually translate into:
  3. //<img src="media/smiles-600x200.png" alt="smiles" />
  4. //More options:
  5. //https://github.com/locvfx/codeigniter-advanced-images