Jednoduche vlozenie obrazkov do textu

zdravim.som uplne najvacsi zaciatocnik a potreboval by som pomoct s vlozenim obrazka priamo do textu hlavnej stranky. ked napisem img src=“webova stranka” tak mi obrazok ukaze ale ked chcem obrazky tahat z vlastneho pocitaca tvari sa to ako keby o nicom nevedelo.jediny pokrok co som dosiahol bol len obrys obrazka ale nic viac. dakujem za radu :slight_smile:

http://www.jakpsatweb.cz/html/obrazky.html#img

nicht. mozem tam napisat celu cestu a stale nic. nechce mi zobrat ani nahraty obrazok v novinkach

An AJAX HTTP request terminated abnormally.
Debugging information follows.
Path: /file/ajax/field_image/und/0/form-yP6zS6knH3MgPsOj9KPhab6lWnXsnCRNZu-tu3DoBXM
StatusText: n/a
ResponseText:
Chyba
Chybová správa
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘public://field/image/lalia.jpg’ for key ‘uri’: INSERT INTO {file_managed} (uid, filename, uri, filemime, filesize, status, timestamp, type) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7); Array
(
[:db_insert_placeholder_0] => 1
[:db_insert_placeholder_1] => lalia.jpg
[:db_insert_placeholder_2] => public://field/image/lalia.jpg
[:db_insert_placeholder_3] => image/jpeg
[:db_insert_placeholder_4] => 16384
[:db_insert_placeholder_5] => 0
[:db_insert_placeholder_6] => 1360009715
[:db_insert_placeholder_7] => image
)
v drupal_write_record() (riadok 7106 z C:\xampp\htdocs\includes\common.inc).
Stránka narazila na neočakávanú chybu. Skúste prosím neskôr.

ReadyState: undefined

ak to pomoze toto je tabulka ktoru mi milerado vypisuje

No vidis a stacilo hned napisat detaily problemu (je to na drupale atd.).

Chybu sice nevyriesim ale podla tej hlasky ide o problem ze v databaze je uz taky zaznam ulozeny (public://field/image/lalia.jpg). Mas to nejako rozbite.

Pokial chces mat editacne rozhranie jak se patri:

Modul (D7):
Wysiwyg (aby si mohol pouzit ckeditor): http://drupal.org/project/wysiwyg
CKeditor (most ku JS editoru): http://drupal.org/project/ckeditor
IMCE (upload suborov): http://drupal.org/project/imce
IMCE Bridge (aby CKeditor mohol pracovat s IMCE): http://drupal.org/project/imce_wysiwyg

Libraries (do priecinku sites/all/libraries/): CKeditor (JS editor)
http://download.cksource.com/CKEditor/CKEditor/CKEditor%204.0.1/ckeditor_4.0.1_standard.zip

Nasledne musis to nakonfigurovat. Popisovat to tu je zlozite, skus krok po kroku nahodit moduly podla dokumentacie.

1062 Duplicate entry ‚public://field/image/lalia.jpg - skusil si nahodil dalsi subor s tym istym nazvom ako predchadzajuci. Netusim ako to nahadzujes a mal by si pouzit sofistikovanejsi sposob - procesovat cez Drupal a nie natvrdo kodit.