17486 Posts in 4473 Topics by 1978 members
|Go to End|
3 May 2008 at 2:30am Last edited: 3 May 2008 2:31am
Problem: I add an image field to the backend and currently displaying
the image using..
This prints out <img src="uploads/blahblah.jpg"> and shows the image fine
however.. I only want to echo the filename and location example: uploads/blahblah.jpg
I intend to then load this image into flash. How could I get it to simply echo the filename?
I realise I need to somehow grab it from the file table and refence the Photo2 field but not sure how to execute this within the structure.
thanks in advance : )
3 May 2008 at 6:35pm
You can call the URL method on the Image. Try $Photo2.SetWidth(180).URL Not sure if you can chain it like that, you probably can't . Maybe then try <% control Photo2.SetWidth(180) %>$URL<% end_control %>
|Go to Top|