Results 1 to 5 of 5

Thread: Image reading permission

  1. #1
    New user
    Join Date
    01-20-11.
    Posts
    10

    Default Image reading permission

    Hi, good morning.

    I have a problem with my contao webpage since thursday.

    When I upload a new image to view in news it goes wrong.I have uploaded it with filezilla and with contao and it is the same problem.

    I uploaded the image ../aspace/images/noticias/AC_D.JPG, but i can't see the preview of the image. Nevertheless if i click on the image I can see it. I have also noticed that the url of the preview image is different http://www.aspacegalicia.org/aspace/sys ... 3e4d11.jpg and it has no reading permissions.

    Can anyone help me with my problem please.

  2. #2
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: Image reading permission

    Previews are normally generated images placed inside TL_ROOT/system/html. That directory should be writable by the webserver.

  3. #3
    New user
    Join Date
    01-20-11.
    Posts
    10

    Default Re: Image reading permission

    I have found the error but i don´t know how to fix it.

    When i upload a picture. Contao assigns to it a 640 permission mask instead of 655 to the images and to the generated thumbnails.

    Now i am changing the mask manually for each photo i upload, but it is not a valid solution. Could anyone tell me where can I configure this?

    Thank you.

  4. #4
    New user
    Join Date
    01-20-11.
    Posts
    10

    Default Re: Image reading permission

    Quote Originally Posted by dalpazos
    I have found the error but i don´t know how to fix it.

    When i upload a picture. Contao assigns to it a 640 permission mask instead of 655 to the images and to the generated thumbnails.

    Now i am changing the mask manually for each photo i upload, but it is not a valid solution. Could anyone tell me where can I configure this?

    Thank you.
    Could anyone help me please??

  5. #5
    Experienced user
    Join Date
    06-10-09.
    Location
    Atlanta, Georgia
    Posts
    611

    Default Re: Image reading permission

    I'd try using the "safe mode hack" where Contao uses FTP details to upload files.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •