/    Sign up×
Community /Pin to ProfileBookmark

Improper view of Images in html page

Hi All

We are trying to display around 30-40 images in one HTML page.Location for (<Img src “Location”> )images generated at run time through java Code.

Problem: Browser is showing the random behaviour. Sometimes it is able to display all the images and sometimes it shows Cross sign having no image display.

But when we check for properties of such images then it shows the exact path where the image is located.

For other properties except location it shows like:
content: not Available
Size: Not Available
Format :Not Available
Creation Date:Not Available
Modified Date: Not Available

Also, when we pick this path from properties and try to open it in the browser window then it shows 404-Page not found Error.

Please let me know if anybody is having any idea on this issue.

Thanks…

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@TheBearMayDec 01.2008 — Not seeing the code, and not being able to see it in action, my [B][I]guess[/I][/B] is that you [I][B]may[/B][/I] have a capitalization problem. Could be other things, but that would be my first shot given the limited information above.
Copy linkTweet thisAlerts:
@puneetjavaauthorDec 01.2008 — Actually I am working with Documentum enviroment. Images are exported from documentum environment to local system, then jsp picks up the images at runtime. Did you get my problem well?? Sample code is give below...

<table width="100%" border="0" cellpadding="0" cellspacing="0">

<tr>

<td>&nbsp;</td>

</tr>

<tr>

<% ArrayList contentName=(ArrayList)contentMap.get(contentType. get(i));

ArrayList contentObjId=(ArrayList)contentObjIdMap.get(conten tType.get(i));

String thumbnailName="";

String actualName="";

String objectId="";

for(int temp=0;temp<contentName.size();++temp)

{

thumbnailName=contentName.get(temp).toString();

actualName=thumbnailName.substring(0,thumbnailName .lastIndexOf("_th.")).concat(thumbnailName.substri ng(thumbnailName.lastIndexOf("."), thumbnailName.length()));

objectId=contentObjId.get(temp).toString();

temp++;

%>

<td align="center">

<a href=""> <dmf:image id="<%=objectId %>" src='<%=(strContextPath+"/custom/theme/itgi/images/Thumbnail_Images/"+thumbnailName) %>' width="200px" height="150px" onclick="viewActualContent"><dmf:argument name="objectId" value="<%=objectId %>"/></dmf:image></a>

<%}

</td>

</tr>

</table>


This is just a sample code which might be wrong syntactically. Main point is that all the variables' value is generated at runtime.

I think you must get now. If you have any issue, do let me know..

Please find the attached document having the screenshot of the problem. It will be more clear to you.

Thanks in advance..
×

Success!

Help @puneetjava spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...