Module news img url
Posted: Wed Feb 10, 2016 3:55 pm
hello,
in module NEWS I added an img field
{$entry->fields['immagine']->value}
now I have to call this image with absolute URL to complete this
<meta property="og:image" content=" ">
What can I use? If I write www-mysite.com/uploads/news/{$entry->fields['immagine']->value}
I don't include subdirectories of news.
The address complete is www-mysite.com/uploads/news/16/71/imagename.jpg for example.
Have you already done this in some way?
Thanks
in module NEWS I added an img field
{$entry->fields['immagine']->value}
now I have to call this image with absolute URL to complete this
<meta property="og:image" content=" ">
What can I use? If I write www-mysite.com/uploads/news/{$entry->fields['immagine']->value}
I don't include subdirectories of news.
The address complete is www-mysite.com/uploads/news/16/71/imagename.jpg for example.
Have you already done this in some way?
Thanks