21304 Posts in 5736 Topics by 2603 members
General Questions
SilverStripe Forums » General Questions » Images from backend content field are not displayed in frontend
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 629 Views |
-
Images from backend content field are not displayed in frontend

28 February 2011 at 1:01am
Hey there!
I'm inserting an image to the content field (the all easy standard way through the backend). In the backend, everything works fine, but the image won't be shown up in the frontend.
I found out, that the src attribute misses a leading slash. When I enter this slash manually, the image ist shown as it should.
No idea how to fix this. Anyone any idea? Thanks in advance!
Cheers, Mario
-
Re: Images from backend content field are not displayed in frontend

1 March 2011 at 6:36am
Has noone an answere? For me, this is a huge problem, because the user will not be able to add any images to his content.
-
Re: Images from backend content field are not displayed in frontend

1 March 2011 at 3:08pm
Do you have <% base_href %> in your template's head section?
-
Re: Images from backend content field are not displayed in frontend

1 March 2011 at 9:56pm
Sweet Dude! That's it! I never knew what this was for. Thanks so much.
Ah, by the way, the tag is named <% base_tag %>, but I knew what you ment.
Thanks again!
Cheers, Mario
-
Re: Images from backend content field are not displayed in frontend

2 March 2011 at 10:59am
Lol, yeah, that's the one. Cheatsheets are one of my crutches, that's why I might not remember something correctly off the top of my head. =)
| 629 Views | ||
|
Page:
1
|
Go to Top |


