Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Blog Module /

Discuss the Blog Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Blog - image with SimpleImageField not working


Reply


559 Views

Avatar
Mackodlak

Community Member, 95 Posts

12 October 2011 at 7:48pm

Edited: 12/10/2011 9:14pm

Hey guys,

some time ago I extended the Blog module so it has an image field. I was following this link at a time:

http://www.ssbits.com/tutorials/2011/adding-an-image-to-a-blog-post-using-decorators-and-the-silverstripe-blog-module/

The thing is it was working perfectly and I've forgotten all about it, but now we moved the website to another server and the field doesn't work any more (frontend or backend):

It give the browse option, then you select the image you wish to upload, except it and it does nothing... It shows the path to file and button brows, but doesn't upload image at any time.

Did this happen to any of you? how to fix it?

EDIT: I've looked a bit into it. The image gets uploaded, cause there it is in /assets/uploads , then I've looked into mysql db and there is an image ID for that entry, I guess there is no reason to believe that SimpleImageField doesn't work... so why isn't the image being shown?