House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  Mach-II

Img/CSS paths in Mach-II

  << Previous Post |  RSS |  Tree View |  Sort Oldest First |  Subscribe to this Group Next >> 

Img/CSS paths in Mach-II

Thanks Ben.  Your solution worked.  I had tried it earlier Merritt Chapman 02/09/2004 04:03 PM
I would put your images directory outside of the views directory. So it Ben Densmore 02/09/2004 11:27 AM
I have a quick question regarding the use of images and css files within Merritt Chapman 02/09/2004 10:50 AM

02/09/2004 04:03 PM
Author: Merritt Chapman Short Link: http://www.houseoffusion.com/groups/mach-ii/thread.cfm/threadid:78#210 Thanks Ben.  Your solution worked.  I had tried it earlier but the difference was that I was running my app from within a sub folder of a website.  I just moved the entire app to the root and it worked fine. Thanks again. -Merritt
02/09/2004 11:27 AM
Author: Ben Densmore Short Link: http://www.houseoffusion.com/groups/mach-ii/thread.cfm/threadid:78#209 I would put your images directory outside of the views directory. So it sits under your application directory. Same thing with css, create a css directory then you can call it from there. That is how I do mine anyway. Ben I have a quick question regarding the use of images and css files within subfolders within the 'views' folder in the mach-ii framework.  How can I get image and external css files to display within the mach-ii framework without adding 'view' to each of the folder paths.  For example, a file that is normally linked 'images/img1.jpg' will display fine within dreamweaver, but not within the framework unless I append 'view' to the beginning of the path, 'view/images/img1.jpg'.  This also presents a problem with a site that relies on CSS for rendering purposes. Is there any way to tweak the way a site is designed with mach-ii to allow css and images paths to work locally during development AND once the files are posted to a webserver and rendered through mach-ii? Thanks in advance!   _____  
02/09/2004 10:50 AM
Author: Merritt Chapman Short Link: http://www.houseoffusion.com/groups/mach-ii/thread.cfm/threadid:78#207 I have a quick question regarding the use of images and css files within subfolders within the ‘views’ folder in the mach-ii framework.  How can I get image and external css files to display within the mach-ii framework without adding ‘view’ to each of the folder paths.  For example, a file that is normally linked ‘images/img1.jpg’ will display fine within dreamweaver, but not within the framework unless I append ‘view’ to the beginning of the path, ‘view/images/img1.jpg’.  This also presents a problem with a site that relies on CSS for rendering purposes. Is there any way to tweak the way a site is designed with mach-ii to allow css and images paths to work locally during development AND once the files are posted to a webserver and rendered through mach-ii? Thanks in advance!
<< Previous Thread Today's Threads Next Thread >>

Search mach-ii

May 24, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference