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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

Images won't be displayed after uploading


Go to End


3 Posts   2186 Views

Avatar
MarioSommereder

Community Member, 107 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
MarioSommereder

Community Member, 107 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