This content has been marked as final. Show 5 replies
If you want a hack , just check what the value of the img7 variable is by printing it and then build the path as you go , very bad approach but will ultimately help to understand where the image path starts from
Thanks for the idea but the fact is that the control is not entering the output tag. I told that the entries fetched is -1.
Not sure what exactly is causing the issue.
Can you try changing the values of the properties in the HomePageImageSlot.properties so that any of the combination results in fetching the item?
I am nost sure whether I am setting the media external asset correctly.Can you please let me know what value should e given in path and url.
URL as of now I have changed : starting from the docroot location i.e /doc/..... that is present under home.
media-external's url property shall hold the value of the relative URL that can be used in a JSP to access the media item i.e. relative to the jsp.
In my application, the path of the image is
The url of this image is given as /images/large/878.jpg
The path is given as /images.
Note: the path in the above url /imagecontent/merchandising/productimages is mapped to point to /images in the web server.
Hope this helps.