![]() |
Форум больше не используется. Присоединяйтесь к каналу #community-ru в Slack for TYPO3 community |
|
|
#2 | |
|
Senior Member
|
Цитата:
Во-вторых, если нужны просто ссылки на картинки (без обработки и т.д.) нужно использовать другие возможности, но никак не RTE. Вроде кто то говорил, что можно с помощью DAM все делать... Ну и уж если все предыдущее не остановило... Копии сохраняет tce_main при сохранении форм. (тут они как раз попадают в uploads/ Обработку изображений делает tslib_content.php. Скалдывются в typo3temp, и очищаются сбросом кэша. Имя картинки при обработке выбирается здесь, по хэш коду от всех параметров: Код:
/**
* Creates and returns a TypoScript "imgResource".
* The value ($file) can either be a file reference (TypoScript resource) or the string "GIFBUILDER". In the first case a current image is returned, possibly scaled down or otherwise processed. In the latter case a GIFBUILDER image is returned; This means an image is made by TYPO3 from layers of elements as GIFBUILDER defines.
* In the function IMG_RESOURCE() this function is called like $this->getImgResource($conf['file'],$conf['file.']);
*
* @param string A "imgResource" TypoScript data type. Either a TypoScript file resource or the string GIFBUILDER. See description above.
* @param array TypoScript properties for the imgResource type
* @return array Returns info-array. info[origFile] = original file.
* @link http://typo3.org/doc.0.html?&tx_extrepmgm_pi1[extUid]=270&tx_extrepmgm_pi1[tocEl]=315&cHash=63b593a934
* @see IMG_RESOURCE(), cImage(), tslib_gifBuilder
*/
function getImgResource($file,$fileArray) {
}
Последний раз редактировалось Pavel Antonov; 06.04.2006 в 13:53 |
|
|
|
|