default userpic

What could cause a Custom Field image asset to not display?

Vote 0 Votes

If I upload an image to a custom field that has been set to contain an image asset, the upload is successful and I can view the image by clicking on the "View image" link in the entry. I can also embed the image inside a post using the toolbar.

I cannot embed the image into a template by calling the custom field asset. For example, I have a custom field named "entrydatahome_photo" but I'm not able to embed this using the standard method, i.e.,

<mt:IfNonEmpty tag="entrydatahome_photo"> <mt:entrydatahome_photoAsset> <a href="<$mt:EntryLink$>"><img src="<mt:AssetURL />" width="143" alt="" /></a> </mt:entrydatahome_photoAsset> </mt:IfNonEmpty>

Any ideas as to what could cause this?

Reported on Movable Type 4.2

1 Reply

| Add a Reply
  • When I check the mySQL database for the entries in this blog, I only see values in the mt_objectasset table for the one entry that is displaying the images properly. None of the other other entries that I've loaded images for show any values in this table.

    I run check table in phpMyAdmin, and it seems to be ok.

Add a Reply

Forum Groups

151 405

Last Topic: MT Interface Missing by Sherri on Nov 10, 2008

36 144

Last Topic: Installation can't finish by Drazend on Nov 10, 2008

34 93

Last Topic: Creating your own Plug-in by jondauz on Nov 5, 2008

10 33

Last Topic: new licensing confusion by Neil Epstein on Aug 14, 2008

code.sixapart.com

62 226

Last Topic: Callback after blog publishing. by Tomato Interactive on Oct 27, 2008

34 98

Last Topic: Ajax Rating Plugin by kiran on Oct 17, 2008