Image Thumbnails and Etc.
Connection to database for the filename and details The table contains all the real file information. Mimetype, extensions and etc.
The physical images are located on a hdd in a folder path and are renamed as follow: s:\onlinemedia\files\1\2241.dat
[Type pjpeg] [Mime image/jpeg]
I can get all of that information however, when I set header to image/jpg I get the output of my string to the path.
s:\onlinemedia\files\1\2241.dat
$fileid = $passcode = '';
$fileid = (isset($_GET['fileid']) ? $_GET['fileid'] : '');
$passcode = (isset($_GET['passcode']) ? $_GET['passcode'] :'');
$filename = $frw->source->img($fileid,$passcode);
$thumb = PhpThumbFactory::create($filename);
$thumb->adaptiveResize(16,16);
$thumb->save($filename);
$thumb->show($filename);
What is really happening here?
Šáÿ�èÚÄ·6~šÈK=߈u¹
Òe¹µ¿)ok%º#È"¸K¯×¿Š_²lÿ�¾üKý¤¾/êG‡~ü#ÒžÏÅž>¿ÐSPÕôßÍsacâÍ/IÑôØ5]~/é×í{«FnåÄ›k3}¶Ñ?/£ÂqÌèÔÌr|âXl.çÂÓN5)ÍF*<“Vsv¿*wQNVI·wâÜ^I*Fk•¼N/J?SÅ]rKXó¹¥g¯µü‘ÿÙ – user384929