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.

Archive /

Our old forums are still available as a read-only archive.

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

problem with setwidth() image


Go to End


3 Posts   1465 Views

Avatar
pac

Community Member, 25 Posts

23 June 2008 at 6:09am

Edited: 23/06/2008 6:12am

I'm experiencing problems with setwith on my server.
it does create the image in _resampled but it does not show on my page and I get an "forbidden" on the image, when I try to access it through direct url.
the permissions on _resampled are 744, 644 on the files, and the user is correct.

same thing in the CMS, the image does not show on formatting and view image , though it does in image editor.

Any ideas ? thx.

my config : gentoo, apache 2.0.59, php5.25

Avatar
(deleted)

Community Member, 473 Posts

23 June 2008 at 7:25am

If you don't use setWidth(), does the image work? If it doesn't you may want to check your permissions on assets/ as well.

Avatar
pac

Community Member, 25 Posts

23 June 2008 at 7:20pm

yes the image works in Uploads, permissions on assets are 755.
I don't get it