hola amigos de chevereto tengo un problema a la hora de dar subir imagen a mi host me sale la url de mi host + el de la imagen pero no la sube aqui les pongo un ejemplo:
http://hostimage.tk/?url=http://tbn...m/imagenes/chrysler-sebring-200c-cabrio-0.jpg
Aqui les dejo un ejemplo de lo que pongo en la url para subir:
tengo algun error o que estoy asiendo mal muchas gracias
Salu2
http://hostimage.tk/?url=http://tbn...m/imagenes/chrysler-sebring-200c-cabrio-0.jpg
Aqui les dejo un ejemplo de lo que pongo en la url para subir:
Code:
// Subete!
var strImgURL = img.src;
myTabRef = getBrowser().addTab();
getBrowser().selectedTab = myTabRef;
var tabBr = getBrowser().getBrowserForTab(myTabRef);
var doc = tabBr.contentDocument;
doc.location.href = "[url]http://hostimage.tk/?url=[/url]" + strImgURL;
}
}
}
function redimensiona() {
if(gContextMenu)
{
var img = gContextMenu.target;
if(img) {
// Redimensionate!
var strImgURL = img.src;
myTabRef = getBrowser().addTab();
getBrowser().selectedTab = myTabRef;
var tabBr = getBrowser().getBrowserForTab(myTabRef);
var doc = tabBr.contentDocument;
doc.location.href = "[url]http://hostimage.tk/?urlrez=[/url]" + strImgURL;
Salu2