johanvos Posted December 17, 2005 Share Posted December 17, 2005 Hi Does anybody know how to get image properties. I need width, height, and any other that is possible (resolution,etc) If you look at my post http://www.fmforums.com/forum/showtopic.php?tid/172397/ you will see I am displaying linked alias files on web, but it is not showing proportionately. I need to redirect to an appropriately sized layout Thanks Link to comment Share on other sites More sharing options...
comment Posted December 17, 2005 Share Posted December 17, 2005 See if this thread helps. Link to comment Share on other sites More sharing options...
johanvos Posted December 18, 2005 Author Share Posted December 18, 2005 Thanks This is great for detemining which layout to display on But I still dont know how to get the image info When I GetAsText(container) it only gives me the path ? I only get extra info if I import a movie file Link to comment Share on other sites More sharing options...
comment Posted December 18, 2005 Share Posted December 18, 2005 How exactly did you get the images into the container: Insert Picture or Insert File? Store as reference only, or stored internally in the database? Link to comment Share on other sites More sharing options...
johanvos Posted December 18, 2005 Author Share Posted December 18, 2005 I imported a folder, with the file stored as reference. This is the same for images and movs, but only mov gives additional info. Just a thought, will it have something to do with the way the original file was saved or the fileformat ? Link to comment Share on other sites More sharing options...
comment Posted December 18, 2005 Share Posted December 18, 2005 When I have a picture stored as reference only, GetAsText(container) returns: size:84,76 image:picName.pct imagemac:/myHardDisk/Users/myUserName/Desktop/myFolderName/picName.pct I don't know why it should be different for you. What format are the images? Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6704 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 accountSign in
Already have an account? Sign in here.
Sign In Now