I have big problems with the images. I'm using Drupal 6x + FCK EDITOR + IMCE
If I make a site locally on my PC when transfer it (FTP and Mysql Dump )and active one copy-site on Internet in my webspace: the images remain with the original link-url internal position in locally (http://localhost) : positioned under XAMPP WIN
with this dir: /localsite/sites/default/files/FOTO.JPG
and are not visible in the WEB.
Same thing happens if I make the site directly in my webspace - web: if, after I and the active local copy all images remain with this wrong url:
/sites/default/files/ foto.jpg
In practice the difference is this: the folder /localsite , and which is located under C:\ xampp\htdocs\.. in my computer.
While the website this folder does not exist: drupal is put in front page and not in sub folders as in the Computer.
In drupal 6x I put % f % f ( drectory as support for FCK in my panel in drupal ) and I removed "ABSOLUTE URL" to give, assigned to IMCE module for browsing images :
because otherwise the directory of the images were much worse than now:
for example:
IF I BUILD SITE IN LOCAL
http://localhost/localsite/sites/default/files/FOTO.JPG ( C:\xampp\htdocs\localsite ) my PC
IF I BUILD THE SITE IN INTERNET
http://www.website.com/sites/default/files/FOTO.JPG ( http://www.website.com ) my webspace
I do not understand where can I make when I DUMP DATA UPDATING between local and web-site or vice versa:
the images take the right the right URL-LINK and lose the old one of departure, there may be a solution?
For those who use Drupal is very important to have the opportunity to complete a site identical to the web and updated for obvious Test and saves on new forms (and also for data backup and recoverd files + database copy for security ).
Also just move the site to other internet services and servers and the problem remains the same.
Thank you for your help and if there is solution: this will be immediately passed to others users drupal with this problems.
Sorry the bad English.
---------------------------------------------------------------------------------------------------------------
Italian Translate Language
Ho grandi problemi con le immagini. Uso Drupal 6x + FCK EDITOR + IMCE
Se faccio un sito in locale nel mio PC e poi trasferisco e attivo il sito in Internet : le immagini rimangono con il link-url interno della posizione locale (http://localhost) sotto XAMPP WIN
con dir : /sito-locale/sites/default/files/FOTO.JPG
e non sono visibili nel WEB.
Identica cosa accade se costruisco il sito direttamente nel mio spazio - web : quando dopo faccio e attivo la copia in locale tutte le immagini restano con url sbagliato :
/sites/default/files/FOTO.JPG
In pratica questa è la differenza: resta la cartella /sito-locale/ che è posizionata sotto C:\xampp\htdocs nel mio computer.
Mentre nel Sito Web questa cartella non esiste : drupal è messo in fronte pagina e non in cartelle di sottodirectory come nel Computer.
In drupal 6x ho messo %f %f come appoggio drectory per FCK e ho eliminato ABSOLUTE URL da dare al modulo IMCE :
perchè altrimenti le directory delle immagini erano molto peggio di adesso:
per esempio :
IN LOCALE
http://localhost/sito-locale/sites/defa ... s/FOTO.JPG
IN INTERNET
http://web-site/sites/default/files/FOTO.JPG
Non capisco dove posso fare in modo che quando faccio DUMP AGGIORNAMENTO DATI tra locale e sito-web o viceversa : le immagini prendano il giusto il giusto URL-LINK e perdano quello vecchio di partenza; è possibile che esista una soluzione ?
per chi usa Drupal è molto importante la possibilità di avere un sito completo identico a quello web e aggiornato per evidenti Test e Salvataggi su nuovi moduli ( e anche per backup ripritino dati ). Inoltre basta spostare il sito su altri servizi internet e servers e il problema resta uguale.
Vi ringrazio per il vostro aiuto e se esiste soluzione : questa sarà subito passata a tutti gli utenti drupal italia.
Scusate il pessimo inglese.
Sat, 05/23/2009 - 00:04
#1
FCK EDITOR and IMCE create images with directory fixed
FCK EDITOR and IMCE create images with directory fixed