Avatar billede guzzie Nybegynder
17. februar 2001 - 11:31 Der er 2 kommentarer og
1 løsning

img source help????

hey there

I use an upload script that uploads a picture to my server and in my database the full map path is also inserted
however on the page where i wish the thumbnail to be shown, damn it does not get shown

the source is like this
<img width=\"90\" height=\"80\" src=\"<%=thumb%>\">

and in the database \"thumb\" colume has the following
d:\\home\\guzziedk\\www\\mediascope\\thumbs\\bsgloben00-05.jpg

Why is it then that the img cant be shown on the page
please help
Guzzie
Avatar billede blazer Nybegynder
17. februar 2001 - 11:37 #1
cuz u  need to convert it 2 like \"www.site.dk/imagefile.jpg\"

or it will try to load it local at the client!
Avatar billede guzzie Nybegynder
17. februar 2001 - 11:46 #2
I know how to link to a img file :p
What I want to know is, can the above script work or not :)
Avatar billede guzzie Nybegynder
17. februar 2001 - 11:57 #3
I have found a solution :)
thanks anyway :)

Guzzie
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Kurser inden for grundlæggende programmering

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester