[TYPO3-english] add absolute path to tt_content images

Stano Paška stano.paska at gmail.com
Wed Aug 18 16:32:39 CEST 2010


Hi Muriel.

I had exactly same problem (facebook does not resolve images in pasted
links that points to typo3 web page).

I solved it by xclass-ing tslib_cObj (function cImage) in our extension.

Stano.

On Wed, Aug 18, 2010 at 2:05 PM, Muriel le Pair <typo3 at strangefruit.nl> wrote:
> Hello,
>
> Is it somehow possible to add a prefix to tt_content images (CSS Styled
> Content) so that they are loaded with an absolute url instead of a relative
> path?
>
>
> so something like this:
> <img src="http://www.mydomain.nl/img/logo.jpg" border="0" />
>
> instead off:
> <img src="img/logo.jpg" border="0" />
>
> --
> kind regards,
>
> Muriel le Pair
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list