Jump to content


Photo
- - - - -

Получить ссылку на изображение

images

Best Answer al2401 , 09 November 2015 - 15:02

$element->get('file');
Go to the full post


  • This topic is locked This topic is locked
1 reply to this topic

#1 al2401

al2401
  • JBZoo User (rus)
  • User rate: 0.7
  • posts: 173
  • topics: 56

Posted 09 November 2015 - 10:47

Добрый день,

получаю значение элемента JBZoo Image

	$element = $this->_item->getElement('e859f03b-96ef-45a5-8478-add2f5eb3db4');
	$value_Image = $element->render();

получается ссылка на изображение из кэша:

  • cache/com_zoo/images/test_b2c1b0029d20192c9e16fcdf3955b768.jpg

подскажите как получить ссылку на оригинал 

  • images/test.jpg

Edited by al2401, 09 November 2015 - 14:33.

  • 0

#2 al2401

al2401
  • Topic Starter
  • JBZoo User (rus)
  • User rate: 0.7
  • posts: 173
  • topics: 56

Posted 09 November 2015 - 15:02   Best Answer

$element->get('file');

  • 0





Click to return to top of page in style!