Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7456 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi all,

I've run into a small problem that for the life me has me stumped.

Using CDML I call up a record that has an image saved inside a container field in the database, the field is named: item_pict

All of the text from the database shows up correctly and even the portal data in all browsers, but in IE only the images do not display. I have a field called <img src=[FMP-image: item_pict]> in Foxfox 0.9, Safari, and Mozilla 1.7 I get the image to display with the text.

Nevertheless, IE5.5 and IE6 say they can't find the picture. I looked at the page source and IE returns the same source code as the others: <td><img src="FMPro?-db=frames.fp5&key=1&-img>"></td>

What in the world am I missing? Thanks.

Posted

Garry's correct.

Further, serving pictures from a container field is a waste of FMP (memory). It is better to store the pix elsewhere and serve them through a .txt document referenced from FMPro with the fmp-include tag.

Posted

Thanks Garry and Unable

So if I just create a file with Notepad that is the path to the picture: Like Dreamweaver creates a path /assets/pics/pict_01.gif

Then just save this as pict_01.txt

Does that sound correct?

Thanks for your help guys.

Posted

Oh and not to be more of a bother, but I didn't mention that I am serving this through Web Server Companion and Apache on OS X Server.

I don't know if it makes a difference, but just thought I would throw it out there.

I'm on my way to try what Garry said.

Thanks

Posted

Thank you, thank you.

Man when I am on a deadline I kind of freak out. I have to deliver this by Monday and I thought I was doomed. It turned out to be one simple typo that I've overlooked time and time again.

I had: <img src="[FMP-image: item_pict]>"

Really, thanks again.

This topic is 7456 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.