prototype Posted October 20, 2012 Share Posted October 20, 2012 Evet arkadaşlar projemde url ile resim göstermek istiyorum ancak birtürlü beceremedim. Image.Load'a resim url'sini eklemeyi denedim ancak olmadı sizin bir fikriniz veya bilginiz varsa lütfen yardımcı olun. Teşekkürler. Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted October 20, 2012 Share Posted October 20, 2012 [font=tahoma,geneva,sans-serif]HTTP.Download >> Image.Load şeklinde denedin mi ?[/font] Quote Link to comment Share on other sites More sharing options...
prototype Posted October 20, 2012 Author Share Posted October 20, 2012 Direkt olarak şöyle oldu. İndirme işlemi olmadan direkt gösterme imkanımız yok dimi ? [CODE] HTTP.Download("http://fotocdncube.fanatik.com.tr/news/658x370_HP/2012/10/20/fft96mm1953000.jpg", "Skin\\DownImage\\img01.jpg", MODE_BINARY, 20, 80, nil, nil, nil); Image.Load("Image1", "Skin\\DownImage\\img01.jpg"); [/CODE] Quote Link to comment Share on other sites More sharing options...
Bitmap Posted October 20, 2012 Share Posted October 20, 2012 bi tane web object koy .. adresine direkt resmin adresini koy bi dene Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted October 20, 2012 Share Posted October 20, 2012 (edited) [font=tahoma,geneva,sans-serif]Sanırım yok, denemedim ama ihtimal de vermiyorum. Çünkü mantıklı birşey değil yapmak istediğin. Tarayıcı bile gösterirken temp'e falan indiriyor yani[/font] [font=tahoma, geneva, sans-serif]@Kazım : Web ile olur da Image objesi kadar esnek değil web. Sanırım proje skini için böyle birşey tasarlıyor. İndirip göstermesi şimdilik mantıklı olan.[/font] Edited October 20, 2012 by DivaneTR Quote Link to comment Share on other sites More sharing options...
prototype Posted October 20, 2012 Author Share Posted October 20, 2012 (edited) [b][color=green]Kazım[/color] öyle denedim ancak kenarlardan boşluk bırakıyordu hoşuma gitmedi. [color=#66ccff]DivaneTR[/color]'nin önerdiği sistemi geliştirip kullanıcam teşekkürler.[/b] Edited October 20, 2012 by prototype Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted October 20, 2012 Share Posted October 20, 2012 İşini kolaylaştıracak bir fonksiyon yazdım, tek satır kod ile artık online image gösterebileceksin. Fonksiyon (Global Functions) ; [CODE] Online = {} Online.Load = function(Img,Path) Split = String.SplitPath(Path); HTTP.Download(Path, _TempFolder.."\\"..Split.Filename..Split.Extension, MODE_BINARY, 20, 80, nil, nil, nil); Image.Load(Img, _TempFolder.."\\"..Split.Filename..Split.Extension); end [/CODE] Örnek Kullanım ; [CODE] Online.Load("Image1","http://i.imgur.com/6cTRb.png") [/CODE] Quote Link to comment Share on other sites More sharing options...
hayal_tr Posted October 21, 2012 Share Posted October 21, 2012 divane ınputa Url Koyup Altınada Göster Butonu Yapsan Örnek Proje vererek Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted October 21, 2012 Share Posted October 21, 2012 o zaman sende url verilen yere input.gettext yaz ? Quote Link to comment Share on other sites More sharing options...
hayal_tr Posted October 21, 2012 Share Posted October 21, 2012 Hangi evreye ve kesin olacakmı Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted October 21, 2012 Share Posted October 21, 2012 Bak simdi projene bir imae object bir input birde buton koy butonun on click evresine online.load(image1,input.gettext(input) yaz telefondan yaziyorum denemedim ama olmasi gerekir Quote Link to comment Share on other sites More sharing options...
hayal_tr Posted October 21, 2012 Share Posted October 21, 2012 HAyır Olmuyo Verdiğin Kodu Yadım Sen yaptıysan Apz Verebilirmisin Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted October 21, 2012 Share Posted October 21, 2012 Eve gidince atarim Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted October 21, 2012 Share Posted October 21, 2012 Arkadaşım sen yapamamışsın .. örnek olarak inputa http://www.tnctr.com/doodle/banner.php bunu yazdır sonra button onclicke bu kodu yaz Online.Load("Image1",Input.GetText("Input1")) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.