[TYPO3] What's the good path for a image ?

Bernd Wilke xoonsji02 at sneakemail.com
Sun Apr 22 20:33:48 CEST 2007


On Sun, 22 Apr 2007 17:44:24 +0000, Roelof Wobben wrote
with subject "Re: [TYPO3] What's the good path for a image ?":

> >From: Bernd Wilke <xoonsji02 at sneakemail.com>
> >Reply-To: TYPO3 English <typo3-english at lists.netfielders.de>
[...]

> >give me a hand: what is FCE?
> >I got a lot of definitions, but I don't think anyone of them has anything
> >to do with TYPO3, CMS or Webpages.

[...]
> >if your image is stored in fileadmin you can use
> >filadmin/image.jpg or /fileadmin/image.jpg (index.php starts in root, where
> >the directory 'fileadmin' exists (and also 'uploads')
> >
> >drawback: if you delete/rename/move this file your links point to nothing.
> >
> >therefore typo3 has a mechanism to save each used file in uploads/...
> >files from pages or content (RTE) in subdirectories depending on filetype,
> >files in fields from extensions in uploads/tx_myextension/...
> >
> >BUT!
> >if you use a file a second time, the original filename is no longer
> >available for usage in the new path. Every reference gets it's own file, so
> >the second usage of a file will result in a renamed file.
> >
> >if you now refer to this files in uploads/... without knowing of TYPO3 you
> >can loose your link to the image/file like in the first part much easier.
> >TYPO3 'knows' the usage of a file. If you remove the usage it removes the
> >copy of the file (without renaming other copies)
> >
> >And don't try to tamper with files in these directories. You will get lost!
> >
> >Bernd
> >
[...]
> 
> Thank you, Bernd
> 
> If i change to /images/plaatje.jpg then the red cross is still seen
> But if i make another page (text with image) i can see the picture.
> Can i be that in FCE the img tag is forbidden. If a saved the img tag is 
> deleted.
> 
1. what is FCE? see above
is it the RTE/RTEhtmlarea?

2. if you got the icon "Image not found" then there is a valid img-tag, but
no valid img-source, that may be the wrong path.
use your browser and look at the HTML-source-code you get calling the page.
Then you may extract the path and image-name given in the img-tag and try
it alone. 
And don't forget: only with windows /images/plaatje.jpg is the same than
/Images/Plaatje.JPG. 
On UNIX/Linux (most web-servers use this OS) these are different
directories and different files!

Bernd

-- 
http://www.bernd-wilke.net


More information about the TYPO3-english mailing list