[TYPO3] Getting an external image into an IMAGE object

Francois Suter fsuter at cobweb.ch
Fri Nov 2 11:47:06 CET 2007

Hi all,

I am trying to get an image from some remote web site into an IMAGE  
object. Something basic like

lib.myimage = IMAGE
lib.myimage.file = http://www.somesite.com/someimage.jpg

failed. Not surprisingly I must admit. I then tried different things  
like using the "import" property of the imgResource function, but to  
no avail. Looking at the source code didn't give me much hope  
(methods like t3lib_TStemplate::getFileName() seem to be able to get  
file paths only from inside the TYPO3 installation).

Is there any way of achieving this?


François Suter

Cobweb Development Sàrl

Rue Eugène-Marziano 15, CH-1227 Les Acacias (Geneva - Switzerland)
T: +41 22 880 00 93, F: +41 22 880 00 94, E: support at cobweb.ch
web solutions for professionnal requirements

More information about the TYPO3-english mailing list