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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Images won't be displayed after uploading


Reply


3 Posts   1337 Views

Avatar
knsqnt

Community Member, 85 Posts

12 June 2009 at 12:50am

Edited: 12/06/2009 12:51am

Hi,

I set up SilverStripe v2.3.2-rc2. Now I uploaded an image with the regular image uploader under "Files & Images".

The upload works and the image is transfered to the server, but it can't be displayed. Neither in the content area of the cms nor in the frontend of the system. Don't missunderstand me, I can see the meta data, the link, nearly everything but not the single pixels making a picture...

The rights of the file were set to 640 wich seems to be correct....

Can anyone please help me? Thanks a ton in advance!

Cheers, Mario

Avatar
knsqnt

Community Member, 85 Posts

12 June 2009 at 3:24am

Solved!

Just replace in your assets/.htaccess the line "php_flag engine off" with "RewriteEngine Off".

Best, Mario

Avatar
KS

Community Member, 10 Posts

19 November 2010 at 7:38am

So in the assets/.htaccess file on 2.4.2 there is no php_flag engine off. I tried the Rewrite Engine Off but it didn't help either.

I can upload; See the thumbnail; Resize even by just 1px and place the image but I can not place the original image.

KS