[TYPO3] Linked image and _01, _02 getUniqueName()

T.Joga email at welho.com
Thu Dec 29 12:49:39 CET 2005


typo3\t3lib\class.t3lib_basicfilefunc.php

line 281; function getUniqueName($theFile, $theDest, 
$dontCheckForUnique=0)	{

set "$dontCheckForUnique=1"

Stupid question, but how I can set this value from page TS?

Anyhow, there is a problem: when I use the image on the a page and when 
I localize this page the specified image is wiped to 0kb. File gets also 
wiped when localized version - or other page using the same image is 
deleted. I assume that partially this is why files are named with _01, 
_02, extensions. How I can get around this deleting thing? It doesnt 
matter if there are some unnecessary files in my upload-folder.
One solution is set permissions to all the images, but that isnt too cool.


T.Joga wrote:
> Hi! Is there a way to get rid of automatically added "_01", "_02"..etc 
> postfixes in linked image names? It starts to be a real problem because 
> I use same image in different locations and all those pictures are named 
>  differently and I like to make changes to "root" images occassionally. 
> Thanks!



More information about the TYPO3-english mailing list