Foros de discusión

Image field in Webcontent Structure !

Mk Sin, modificado hace 11 años.

Image field in Webcontent Structure !

Junior Member Mensajes: 74 Fecha de incorporación: 25/05/12 Mensajes recientes
I got trouble with it, I create structure with 2 image fields,
imgOne : upload : "bullet.png"
imgTwo : upload : "gl.png"

when try to use velocity template to display my structure.
$imgOne.getData() it return me link "C:\fakepath\bullet.png" and certainly can not be display with an IMG tag
but, $imgTwo work fine, it return me "/image/journal/article?img_id=51455&t=1345089799281"

What differences betweet them ? I cant find out, please help !(gl.png is the big one, I dont think it is matter)
thumbnail
Hitoshi Ozawa, modificado hace 11 años.

RE: Image field in Webcontent Structure !

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
Try exchanging the image from the Web Content portlet editor and see what happens.
Mk Sin, modificado hace 11 años.

RE: Image field in Webcontent Structure !

Junior Member Mensajes: 74 Fecha de incorporación: 25/05/12 Mensajes recientes
I have tried, when click on "Show" it expand, gl display gl image, and bullet display nothing(only detele button - no image there) emoticon
Mk Sin, modificado hace 11 años.

RE: Image field in Webcontent Structure !

Junior Member Mensajes: 74 Fecha de incorporación: 25/05/12 Mensajes recientes
Try again with another bullet image and it work, but I still wonder why emoticon Sometime I must to re-upload an image several times to make it display-able