Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Image will not display in Internet Explorer

Featured Replies

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.

I would use quotes:

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

to this:

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

Good Luck.

Garry

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.

  • Author

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.

  • Author

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

  • Author

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.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.