pembeci / ceng3507

MSKÜ - CENG 3507 Web Development and Programming
10 stars 25 forks source link

'Download' #2

Closed cenktrms closed 8 years ago

cenktrms commented 8 years ago

Merhaba hocam, Databasede file type (upload) ını kullanarak itemlerin imagelerini db ye upload ettim. Çağırırkende " src="{{=URL('download', args=jet.img)}} " bu şekillde kullandım ve çok düzgün bi şekilde çalıştı. Fakat "User Authentication" yaptıktan sonra ( User Authentication u sizin gösterdiğiniz şekilde yaptım.) Bir şekilde "download" a erişimi durdurdu ve imageleri göstermemeye başladı

Bu şekilde bi hata verdi :

capture3 capture1 capture2

Sanırım Kodumda bir çakışma var. Nerede bi çakışma olabileceği hakkında bi fikriniz varmı hocam?

Yada bu sorunu yaşayıp çözen arkadaşlar varsa ve banada anlatırsa çok sevinirim.

İyi günler iyi çalışmalar.

cenktrms commented 8 years ago

Tamam hocam Download fonksiyonumda hata varmış hallettim teşekkürler iyi çalışmalar

pembeci commented 8 years ago

In these kind of situations, just copy the image src from the produced page and try to open it standalone (i.e. in a new tab). This way, you can test if the problem is with the download function or something else.