IE gösterdi olmamak Görüntüler, firefox / chrome / diğerleri iyi!

0 Cevap php

I am in need to use This Class to server multiple files (img/video/mp3) from an article writing site i use , the only and main problem is that : All images in the articles should be displayed by that class , and that this class doesn't show images (initiates a download when called by URL) . I managed to fix that by deleting this line (maybe line 107)

header('Content-Disposition:attachment; filename="'.$this->properties["name"].'";');

hangi Chrome ve Firefox gösteren görüntüleri de bana sunulan, ancak IE hala indirme başlatan: (.

düzeltmek için herhangi bir yolu / başlıkları var?

Edit :

Ben meta türü için şunları söyledi:

case "jpg": $content_type="image/".$file_extension; break; 
case "gif": $content_type="image/".$file_extension; break; 
case "png": $content_type="image/".$file_extension; break; 

0 Cevap